Class StandardColors
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardColors
public StandardColors()
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: