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

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

public class StrokeChartParam
extends AbstractChartParam


Field Summary
private  java.util.Map capChoices
           
private  java.util.Map joinChoices
           
 
Fields inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
LIST_SEPARATOR, MAP_ASSIGNMENT, MAP_SEPARATOR, name, optional
 
Constructor Summary
StrokeChartParam(java.lang.String name)
           
StrokeChartParam(java.lang.String name, boolean optional)
           
 
Method Summary
 java.lang.Object convert(java.lang.String value)
           
private  int getCapParam(java.util.Map map, java.lang.String name)
           
private  int getJoinParam(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

capChoices

private java.util.Map capChoices

joinChoices

private java.util.Map joinChoices
Constructor Detail

StrokeChartParam

public StrokeChartParam(java.lang.String name)

StrokeChartParam

public StrokeChartParam(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

getCapParam

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

getJoinParam

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


Copyright 2003 Ludovic Dubost