|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.brewer.color.ColorPalette
A generic palette containing colours.
Constructor Summary | |
ColorPalette()
|
Method Summary | |
java.awt.Color[] |
getColors()
Returns all colours |
java.awt.Color[] |
getColors(int length)
|
int |
getCount()
Returns the number of colours contained in the palette. |
java.lang.String |
getDescription()
Getter for property description. |
java.lang.String |
getName()
Getter for property name. |
void |
setColors(java.awt.Color[] colors)
|
void |
setDescription(java.lang.String description)
Setter for property description. |
void |
setName(java.lang.String name)
Setter for property name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ColorPalette()
Method Detail |
public int getCount()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- New value of property name.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- New value of property description.public void setColors(java.awt.Color[] colors)
public java.awt.Color[] getColors(int length)
public java.awt.Color[] getColors()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |