net.sf.jtreemap.ktreemap.example
Class XMLBean

java.lang.Object
  extended by net.sf.jtreemap.ktreemap.example.XMLBean

public class XMLBean
extends java.lang.Object

Bean that contains values of an element of a XML file

 

Constructor Summary
XMLBean()
           
 
Method Summary
 java.lang.String getLabel()
           
 double getValue()
           
 double getWeight()
           
 void setLabel(java.lang.String label)
           
 void setValue(double value)
           
 void setWeight(double weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBean

public XMLBean()
Method Detail

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