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
ConstructorDescriptionParameterText
(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 String
Deprecated.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:
getDefaultValue
in interfaceParameter<String>
- Specified by:
getDefaultValue
in 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
-
ParameterText
instead