net.sf.jtreemap.ktreemap.example
Class XMLBean
java.lang.Object
net.sf.jtreemap.ktreemap.example.XMLBean
public class XMLBean
- extends java.lang.Object
Bean that contains values of an element of a XML file
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBean
public XMLBean()
getLabel
public java.lang.String getLabel()
- Returns:
- the label
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label
- the label to set
getValue
public double getValue()
- Returns:
- the value
setValue
public void setValue(double value)
- Parameters:
value
- the value to set
getWeight
public double getWeight()
- Returns:
- the weight
setWeight
public void setWeight(double weight)
- Parameters:
weight
- the weight to set