ParameterText
instead@Deprecated @GwtCompatible public class ParameterText extends Object implements Parameter<String>
Parameter.Factory
Constructor and Description |
---|
ParameterText(String name,
String placeholder,
String defaultValue)
Deprecated.
Creates a new String-typed text input parameter, using the given attributes.
|
Modifier and Type | Method and Description |
---|---|
String |
cast(Object object)
Deprecated.
Casts the given object this parameter's value type.
|
String |
getDefaultValue()
Deprecated.
Provides the parameter's default value.
|
String |
getName()
Deprecated.
Provides this parameter's name.
|
String |
getPlaceholder()
Deprecated.
Returns the placeholder for the related textfield on client side.
|
public ParameterText(String name, @Nullable String placeholder, @Nullable String defaultValue)
name
- Name of this parameter, should be unique within a WebeditReportPlugin
.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.public String getName()
public String cast(Object object)
object
- The object to be cast.public String getDefaultValue()
getDefaultValue
in interface Parameter<String>
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408