com.xpn.xwiki.plugin.charts.params
Class FontChartParam

java.lang.Object
  extended by com.xpn.xwiki.plugin.charts.params.AbstractChartParam
      extended by com.xpn.xwiki.plugin.charts.params.FontChartParam
All Implemented Interfaces:
ChartParam

public class FontChartParam
extends AbstractChartParam


Field Summary
private  java.util.Map styleChoices
           
 
Fields inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
LIST_SEPARATOR, MAP_ASSIGNMENT, MAP_SEPARATOR, name, optional
 
Constructor Summary
FontChartParam(java.lang.String name)
           
FontChartParam(java.lang.String name, boolean optional)
           
 
Method Summary
 java.lang.Object convert(java.lang.String value)
           
private  int getStyleParam(java.util.Map map, java.lang.String name)
           
 java.lang.Class getType()
           
 void init()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

styleChoices

private java.util.Map styleChoices
Constructor Detail

FontChartParam

public FontChartParam(java.lang.String name)

FontChartParam

public FontChartParam(java.lang.String name,
                      boolean optional)
Method Detail

getType

public java.lang.Class getType()
Specified by:
getType in interface ChartParam
Specified by:
getType in class AbstractChartParam

init

public void init()

convert

public java.lang.Object convert(java.lang.String value)
                         throws ParamException
Specified by:
convert in interface ChartParam
Specified by:
convert in class AbstractChartParam
Throws:
ParamException

getStyleParam

private int getStyleParam(java.util.Map map,
                          java.lang.String name)
                   throws ParamException
Throws:
ParamException


Copyright 2003 Ludovic Dubost