org.geotools.brewer.color
Class PaletteType

java.lang.Object
  extended byorg.geotools.brewer.color.PaletteType

public class PaletteType
extends java.lang.Object

This class doubles as a filter and an identifier for colour palettes.

Author:

Constructor Summary
PaletteType()
           
PaletteType(boolean suitableRanged, boolean suitableUnique)
           
PaletteType(boolean suitableRanged, boolean suitableUnique, java.lang.String name)
          Creates an identifier for palettes
 
Method Summary
 boolean equals(java.lang.Object arg0)
           
 java.lang.String getName()
           
 boolean isMatch(PaletteType filter)
           
 boolean isSuitableRanged()
          Is this set of palettes
 boolean isSuitableUnique()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteType

public PaletteType(boolean suitableRanged,
                   boolean suitableUnique,
                   java.lang.String name)
Creates an identifier for palettes

Parameters:
name - simple identifier
suitableRanged -
suitableUnique -

PaletteType

public PaletteType(boolean suitableRanged,
                   boolean suitableUnique)
Parameters:
suitableRanged - true, false, or null (for don't care)
suitableUnique -

PaletteType

public PaletteType()
Method Detail

getName

public java.lang.String getName()

isSuitableRanged

public boolean isSuitableRanged()
Is this set of palettes

Returns:

isSuitableUnique

public boolean isSuitableUnique()

isMatch

public boolean isMatch(PaletteType filter)

equals

public boolean equals(java.lang.Object arg0)


Copyright © GeoTools. All Rights Reserved.