|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jtreemap.swing.ColorProvider
net.sf.jtreemap.swing.UniqueColorProvider
public class UniqueColorProvider
Color Provider by default.
All values are associated to a unique color.
| Constructor Summary | |
|---|---|
UniqueColorProvider()
Constructor. |
|
UniqueColorProvider(java.awt.Color color)
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.Color |
getColor(Value value)
get the associated color to the value. |
javax.swing.JPanel |
getLegendPanel()
get a legend JPanel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueColorProvider()
public UniqueColorProvider(java.awt.Color color)
color - unique color| Method Detail |
|---|
public java.awt.Color getColor(Value value)
ColorProvider
getColor in class ColorProvidervalue - double value
public javax.swing.JPanel getLegendPanel()
ColorProvider
getLegendPanel in class ColorProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||