Class LabeledItem<T extends Number>
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.data.item.LabeledItem<T>
-
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
Serializable,BaseItem
public class LabeledItem<T extends Number> extends Object implements BaseItem
LabeledItem's data.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LabeledItem()Instantiates a new labeled item.LabeledItem(String label, T value)Instantiates a new labeled item.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Gets the label.TgetValue()Gets the value.voidsetLabel(String label)Sets the label.voidsetValue(T value)Sets the value.
-
-
-
Method Detail
-
setLabel
public void setLabel(String label)
Sets the label.- Parameters:
label- the label to set
-
getLabel
public String getLabel()
Gets the label.- Returns:
- the label
-
setValue
public void setValue(T value)
Sets the value.- Parameters:
value- the value to set
-
getValue
public T getValue()
Gets the value.- Returns:
- the value
-
-