public abstract class PartitionImpl extends Object implements Partition
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(Object value)
Returns the color for the given value.
|
Collection |
getSortedValues()
Returns the same collection as
Partition.getValues() but sorted
descendant in counts. |
void |
setColor(Object value,
Color color)
Sets the color for the given value.
|
void |
setColors(Color[] colors)
Sets the colors for all values.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, getColumn, getElementCount, getValue, getValues, percentage, sizepublic Color getColor(Object value)
Partitionpublic void setColor(Object value, Color color)
Partitionpublic void setColors(Color[] colors)
Partitioncolors must be
equal to size().public Collection getSortedValues()
PartitionPartition.getValues() but sorted
descendant in counts.getSortedValues in interface PartitionCopyright © 2007–2017. All rights reserved.