@GwtCompatible public class ParameterText extends Object implements Parameter<String>
| Constructor and Description |
|---|
ParameterText(String name,
String placeholder,
String defaultValue)
Creates a new String-typed text input parameter, using the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
String |
cast(Object object)
Casts the given object this parameter's value type.
|
String |
getDefaultValue()
Provides the parameter's default value.
|
String |
getName()
Provides this parameter's name.
|
String |
getPlaceholder()
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 getDefaultValue()
getDefaultValue in interface Parameter<String>Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500