Class RandomColorMap

java.lang.Object
  extended by 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.


Constructor Summary
RandomColorMap()
           
 
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

RandomColorMap

public RandomColorMap()
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: