fsmvis.ColorScales
Class ColorScales

java.lang.Object
  |
  +--fsmvis.ColorScales.ColorScales

public class ColorScales
extends java.lang.Object

Class managing a set of colour scales. Color scales should be implemented as classes in the ColorScales package having a static member named 'rgb' which is an array of java.awt.Color. Once implemented, they can be registered in the static initialiser in this class. Use getScale() to get the Colors for a named scale. Use getNames() to get the names of registered scales.


Constructor Summary
ColorScales()
           
 
Method Summary
static java.util.Vector getNames()
           
static java.awt.Color[] getScale(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorScales

public ColorScales()
Method Detail

getScale

public static java.awt.Color[] getScale(java.lang.String name)

getNames

public static java.util.Vector getNames()