Module org.wicketstuff.jqplot4j
Package org.wicketstuff.jqplot.lib.data
Class NumberData<T extends Number>
java.lang.Object
org.wicketstuff.jqplot.lib.data.NumberData<T>
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
Serializable,ChartData<T>
- Direct Known Subclasses:
MeterData
Helper to handle Data Number with generics.
- Author:
- inaiat
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NumberData
Instantiates a new number data.- Parameters:
value- the value
-
-
Method Details
-
getData
Description copied from interface:ChartDataGets the data. -
size
public int size()Gets the size of the data. -
setValue
Sets the value.- Parameters:
value- the new value
-
toJsonString
Description copied from interface:ChartDataTo json string.- Specified by:
toJsonStringin interfaceChartData<T extends Number>- Returns:
- the string
-