Class globalsUI

java.lang.Object
  extended by globalsUI

public class globalsUI
extends java.lang.Object

Holds globals for user interface properties, such as "color scheme".


Constructor Summary
globalsUI()
           
 
Method Summary
 void applyLineThickness(java.awt.Graphics g)
           
 void doText(java.awt.Graphics g, char[] arrChars, int nXStart, int nYStart, int importance)
           
 void doText(java.awt.Graphics g, char[] arrChars, int nXStart, int nYStart, int importance, int nFontOff)
           
 void doText(java.awt.Graphics g, java.lang.String text, int nXStart, int nYStart, int importance)
           
 void doText(java.awt.Graphics g, java.lang.String text, int nXStart, int nYStart, int importance, int nFontOff)
           
static IColorMap getColorMap()
           
static globalsUI getInstance()
           
 int getLineThickness()
           
 IColorMap getMyColorMap()
           
 void nextColorMap()
           
 int registerColorMap(IColorMap map)
           
 void setLineThickness(int nThick)
           
 void switchToMap(int nMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

globalsUI

public globalsUI()
Method Detail

getInstance

public static globalsUI getInstance()

getColorMap

public static IColorMap getColorMap()

registerColorMap

public int registerColorMap(IColorMap map)

switchToMap

public void switchToMap(int nMap)

getMyColorMap

public IColorMap getMyColorMap()

nextColorMap

public void nextColorMap()

setLineThickness

public void setLineThickness(int nThick)

getLineThickness

public int getLineThickness()

applyLineThickness

public void applyLineThickness(java.awt.Graphics g)

doText

public void doText(java.awt.Graphics g,
                   char[] arrChars,
                   int nXStart,
                   int nYStart,
                   int importance)

doText

public void doText(java.awt.Graphics g,
                   char[] arrChars,
                   int nXStart,
                   int nYStart,
                   int importance,
                   int nFontOff)

doText

public void doText(java.awt.Graphics g,
                   java.lang.String text,
                   int nXStart,
                   int nYStart,
                   int importance)

doText

public void doText(java.awt.Graphics g,
                   java.lang.String text,
                   int nXStart,
                   int nYStart,
                   int importance,
                   int nFontOff)