Class NumberFormatChartParam
- java.lang.Object
-
- com.xpn.xwiki.plugin.charts.params.AbstractChartParam
-
- com.xpn.xwiki.plugin.charts.params.LocaleChartParam
-
- com.xpn.xwiki.plugin.charts.params.NumberFormatChartParam
-
- All Implemented Interfaces:
ChartParam
- Direct Known Subclasses:
NumberTickUnitChartParam
public class NumberFormatChartParam extends LocaleChartParam
-
-
Field Summary
Fields Modifier and Type Field Description static String
CURRENCY
static String
GENERAL
static String
INTEGER
static String
NUMBER
static String
PERCENT
static String
TYPE
-
Fields inherited from class com.xpn.xwiki.plugin.charts.params.LocaleChartParam
COUNTRY, LANGUAGE, VARIANT
-
Fields inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
LIST_SEPARATOR, MAP_ASSIGNMENT, MAP_SEPARATOR, name, optional
-
-
Constructor Summary
Constructors Constructor Description NumberFormatChartParam(String name)
NumberFormatChartParam(String name, boolean optional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(String value)
Class
getType()
-
Methods inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
equals, getChoiceArg, getDoubleArg, getFloatArg, getIntArg, getListArg, getName, getStringArg, getStringOptionalArg, hashCode, isOptional, parseList, parseMap, parseMap, toFloatArray, toFloatList, toString
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
GENERAL
public static final String GENERAL
- See Also:
- Constant Field Values
-
NUMBER
public static final String NUMBER
- See Also:
- Constant Field Values
-
INTEGER
public static final String INTEGER
- See Also:
- Constant Field Values
-
CURRENCY
public static final String CURRENCY
- See Also:
- Constant Field Values
-
PERCENT
public static final String PERCENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public Class getType()
- Specified by:
getType
in interfaceChartParam
- Overrides:
getType
in classLocaleChartParam
-
convert
public Object convert(String value) throws ParamException
- Specified by:
convert
in interfaceChartParam
- Overrides:
convert
in classLocaleChartParam
- Throws:
ParamException
-
-