|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jtreemap.swing.Value net.sf.jtreemap.swing.DefaultValue
public class DefaultValue
Default Value
The getLabel() method returns the "" + getValue()
Constructor Summary | |
---|---|
DefaultValue()
Constructor. |
|
DefaultValue(double value)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getLabel()
get the formatedValue. |
double |
getValue()
get the double value. |
void |
setLabel(java.lang.String newLabel)
set the new label. |
void |
setValue(double value)
set the double value. |
Methods inherited from class net.sf.jtreemap.swing.Value |
---|
compareTo, equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultValue()
public DefaultValue(double value)
value
- double valueMethod Detail |
---|
public double getValue()
Value
getValue
in class Value
public java.lang.String getLabel()
Value
getLabel
in class Value
public void setValue(double value)
Value
setValue
in class Value
value
- the new double valuepublic void setLabel(java.lang.String newLabel)
Value
setLabel
in class Value
newLabel
- the new label
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |