Class RandomColorMap
java.lang.Object
RandomColorMap
- All Implemented Interfaces:
- IColorMap
public class RandomColorMap
- extends java.lang.Object
- implements IColorMap
A quick hack just for fun -- randomly chooses the colors of all the display items.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomColorMap
public RandomColorMap()
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: