Package org.geotools.brewer.color
Class PaletteType
Object
PaletteType
This class doubles as a filter and an identifier for colour palettes.
-
Constructor Summary
ConstructorsConstructorDescriptionPaletteType
(boolean suitableRanged, boolean suitableUnique) PaletteType
(boolean suitableRanged, boolean suitableUnique, String name) Creates an identifier for palettes -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
int
hashCode()
boolean
isMatch
(PaletteType filter) boolean
Deterines if this PaletteType instance is suitable ranged.boolean
-
Constructor Details
-
PaletteType
Creates an identifier for palettes- Parameters:
name
- simple identifier
-
PaletteType
public PaletteType(boolean suitableRanged, boolean suitableUnique) - Parameters:
suitableRanged
- true, false, or null (for don't care)
-
PaletteType
public PaletteType()
-
-
Method Details
-
getName
-
isSuitableRanged
public boolean isSuitableRanged()Deterines if this PaletteType instance is suitable ranged.- Returns:
- a boolean, true if the paletteType is sutableRanged.
-
isSuitableUnique
public boolean isSuitableUnique() -
isMatch
-
equals
-
hashCode
public int hashCode()
-