com.vividsolutions.jump.workbench.ui.renderer.style
Class ColorScheme

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.ColorScheme

public class ColorScheme
extends java.lang.Object

The colour schemes were taken from the following sources:


Constructor Summary
ColorScheme(java.lang.String name, java.util.Collection colors)
           
 
Method Summary
static ColorScheme create(java.lang.String name)
           
static java.util.Collection discreteColorSchemeNames()
           
 java.util.List getColors()
           
 int getLastColorReturned()
           
 java.lang.String getName()
           
 java.awt.Color next()
           
static java.util.Collection rangeColorSchemeNames()
           
 void setLastColorReturned(int lastColorReturned)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorScheme

public ColorScheme(java.lang.String name,
                   java.util.Collection colors)
Method Detail

create

public static ColorScheme create(java.lang.String name)

rangeColorSchemeNames

public static java.util.Collection rangeColorSchemeNames()

discreteColorSchemeNames

public static java.util.Collection discreteColorSchemeNames()

getLastColorReturned

public int getLastColorReturned()

setLastColorReturned

public void setLastColorReturned(int lastColorReturned)

next

public java.awt.Color next()

getColors

public java.util.List getColors()

getName

public java.lang.String getName()