Class ParameterText
java.lang.Object
de.espirit.firstspirit.webedit.plugin.report.ParameterText
- All Implemented Interfaces:
Parameter<String>,Parameter<String>,Serializable
Deprecated.
String parameter definition. On the client side, this parameter is represented by a textfield.
- Since:
- 5.0.103
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.espirit.firstspirit.client.plugin.report.Parameter
Parameter.Factory -
Constructor Summary
ConstructorsConstructorDescriptionParameterText(String name, @Nullable String placeholder, @Nullable String defaultValue) Deprecated.Creates a new String-typed text input parameter, using the given attributes. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Casts the given object this parameter's value type.Deprecated.Provides the parameter's default value.getName()Deprecated.Provides this parameter's name.@Nullable StringDeprecated.Returns the placeholder for the related textfield on client side.
-
Constructor Details
-
ParameterText
public ParameterText(String name, @Nullable @Nullable String placeholder, @Nullable @Nullable String defaultValue) Deprecated.Creates a new String-typed text input parameter, using the given attributes.- Parameters:
name- Name of this parameter, should be unique within aWebeditReportPlugin.placeholder- The default text, if the related textfield is empty. The string will not be used as a value.defaultValue- The default value of this parameter.- Since:
- 5.0.103
-
-
Method Details
-
getName
Deprecated.Provides this parameter's name. -
cast
Deprecated.Casts the given object this parameter's value type. -
getDefaultValue
Deprecated.Provides the parameter's default value.- Specified by:
getDefaultValuein interfaceParameter<String>- Specified by:
getDefaultValuein interfaceParameter<String>- Returns:
- The default value.
- Since:
- 5.0.103
-
getPlaceholder
Deprecated.Returns the placeholder for the related textfield on client side. The string will not be used as a value.- Returns:
- The placeholder text.
- Since:
- 5.0.103
-
ParameterTextinstead