public class RandomColorProvider extends ColorProvider
maxValue, minValue, valueAccessor
Constructor and Description |
---|
RandomColorProvider() |
RandomColorProvider(Color[] colours) |
RandomColorProvider(java.util.List<java.lang.Object> colors) |
Modifier and Type | Method and Description |
---|---|
Color |
getColor(net.sf.jtreemap.swing.TreeMapNode node) |
boolean |
isGroupByParent() |
void |
setGroupByParent(boolean groupByParent) |
getValue, setValues
public RandomColorProvider()
public RandomColorProvider(Color[] colours)
public RandomColorProvider(java.util.List<java.lang.Object> colors)
public Color getColor(net.sf.jtreemap.swing.TreeMapNode node)
getColor
in class ColorProvider
public boolean isGroupByParent()
public void setGroupByParent(boolean groupByParent)