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:
  • Constructor Details

    • LabeledItem

      public LabeledItem()
      Instantiates a new labeled item.
    • LabeledItem

      public LabeledItem(String label, T value)
      Instantiates a new labeled item.
      Parameters:
      label - the label
      value - the value
  • Method Details

    • 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