|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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 value| Method Detail |
|---|
public double getValue()
Value
getValue in class Valuepublic java.lang.String getLabel()
Value
getLabel in class Valuepublic void setValue(double value)
Value
setValue in class Valuevalue - the new double valuepublic void setLabel(java.lang.String newLabel)
Value
setLabel in class ValuenewLabel - the new label
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||