Class StandardColors

java.lang.Object
  extended by StandardColors
All Implemented Interfaces:
IColorMap

public class StandardColors
extends java.lang.Object
implements IColorMap

The default color map -- what all sims used before the colormap interface was implemented.


Constructor Summary
StandardColors()
           
 
Method Summary
 java.awt.Color getColor(java.lang.Integer idx)
           
 java.awt.Font getFont()
          Returns null if this implementation doesn't supply a font
 int getLineThick()
           
 java.lang.Integer getMaxColor()
           
 java.awt.Color getTextColor(java.lang.Integer nImportance)
           
 boolean overridesLineThickness()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardColors

public StandardColors()
Method Detail

getColor

public java.awt.Color getColor(java.lang.Integer idx)
Specified by:
getColor in interface IColorMap

getMaxColor

public java.lang.Integer getMaxColor()
Specified by:
getMaxColor in interface IColorMap

overridesLineThickness

public boolean overridesLineThickness()
Specified by:
overridesLineThickness in interface IColorMap

getLineThick

public int getLineThick()
Specified by:
getLineThick in interface IColorMap

getTextColor

public java.awt.Color getTextColor(java.lang.Integer nImportance)
Specified by:
getTextColor in interface IColorMap

getFont

public java.awt.Font getFont()
Returns null if this implementation doesn't supply a font

Specified by:
getFont in interface IColorMap
Returns: