Class ParameterSelect
java.lang.Object
de.espirit.firstspirit.webedit.plugin.report.ParameterSelect
- All Implemented Interfaces:
Parameter<String>
,Parameter<String>
,Serializable
Deprecated.
Selection parameter definition. On the client side, this parameter is represented by a listbox.
- Since:
- 5.0.103
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated.Definition for a selectable item.Nested classes/interfaces inherited from interface de.espirit.firstspirit.client.plugin.report.Parameter
Parameter.Factory
-
Constructor Summary
ConstructorDescriptionParameterSelect
(String name, List<ParameterSelect.SelectItem> items, @Nullable String defaultValue) Deprecated.Creates a new String-typed selection parameter, using the given attributes. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Cast's the given object to the parameter's value type.Deprecated.Provides the parameter's default value.getItems()
Deprecated.Returns the list of selectable items for the related listbox on client side.getName()
Deprecated.Privides the parameter's name.
-
Constructor Details
-
ParameterSelect
public ParameterSelect(String name, List<ParameterSelect.SelectItem> items, @Nullable @Nullable String defaultValue) Deprecated.Creates a new String-typed selection parameter, using the given attributes.- Parameters:
name
- Name of this parameter, should be unique within aWebeditReportPlugin
.items
- List of selectable items for the related listbox on client side.defaultValue
- The default value of this parameter.- Since:
- 5.0.103
-
-
Method Details
-
getName
Deprecated.Privides the parameter's name. -
cast
Deprecated.Cast's the given object to the parameter's value type. -
getDefaultValue
Deprecated.Provides the parameter's default value.- Specified by:
getDefaultValue
in interfaceParameter<String>
- Specified by:
getDefaultValue
in interfaceParameter<String>
- Returns:
- The default value.
- Since:
- 5.0.103
-
getItems
Deprecated.Returns the list of selectable items for the related listbox on client side.- Returns:
- Selectable items.
- Since:
- 5.0.103
-
ParameterSelect
instead