|
||||||||||
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.ValuePercent
public class ValuePercent
class who can display the values of elements of a JTreeMap with pourcent
Constructor Summary | |
---|---|
ValuePercent()
Constructor of ValuePercent |
|
ValuePercent(double value)
Constructor of ValuePercent |
Method Summary | |
---|---|
String |
getLabel()
get the formatedValue. |
double |
getValue()
get the double value. |
void |
setLabel(String stLibelle)
set the new label. |
void |
setValue(double d)
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 ValuePercent()
public ValuePercent(double value)
value
- double valueMethod Detail |
---|
public void setValue(double d)
Value
setValue
in class Value
d
- the new double valuepublic void setLabel(String stLibelle)
Value
setLabel
in class Value
stLibelle
- the new labelpublic double getValue()
Value
getValue
in class Value
public String getLabel()
Value
getLabel
in class Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |