Class ChartDisplayerParameterInfo
java.lang.Object
com.xwiki.projectmanagement.chart.model.ChartDisplayerParameterInfo
Model representing the metadata associated with a
ChartTypeDisplayer.- Since:
- 1.2.0-rc-1
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getLabel()booleanvoidsetDescription(String description) voidvoidvoidsetMultiple(boolean multiple) void
-
Constructor Details
-
ChartDisplayerParameterInfo
public ChartDisplayerParameterInfo()
-
-
Method Details
-
getId
- Returns:
- the id of the parameter.
-
setId
- Parameters:
id- seegetId().
-
getLabel
- Returns:
- the label of the parameter. It represents the pretty name of the parameter.
-
setLabel
- Parameters:
label- seegetLabel().
-
getDescription
- Returns:
- the description of the parameter. It describes what the parameter does and how it affects the
ChartTypeDisplayer.
-
setDescription
- Parameters:
description- seegetDescription().
-
getValues
- Returns:
- a list of values that can be assigned to the attribute.
-
setValues
- Parameters:
values- seegetValues().
-
isMultiple
public boolean isMultiple()- Returns:
- whether the parameter supports multiple values from the
getValues()list or not.
-
setMultiple
public void setMultiple(boolean multiple) - Parameters:
multiple- seeisMultiple().
-