|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jtreemap.swing.Value
public abstract class Value
Class who permits to associate a double value to a label
Constructor Summary | |
---|---|
Value()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object value)
|
boolean |
equals(java.lang.Object obj)
|
abstract java.lang.String |
getLabel()
get the formatedValue. |
abstract double |
getValue()
get the double value. |
int |
hashCode()
|
abstract void |
setLabel(java.lang.String newLabel)
set the new label. |
abstract void |
setValue(double value)
set the double value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Value()
Method Detail |
---|
public abstract double getValue()
public abstract java.lang.String getLabel()
public abstract void setValue(double value)
value
- the new double valuepublic abstract void setLabel(java.lang.String newLabel)
newLabel
- the new labelpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(java.lang.Object value)
compareTo
in interface java.lang.Comparable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |