@GwtCompatible public class ParameterBoolean extends Object implements Parameter<Boolean>
| Constructor and Description |
|---|
ParameterBoolean(String name,
String label,
Boolean defaultValue)
Creates a new Boolean-typed parameter, using the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
cast(Object object)
Casts the given object to the parameter's value type.
|
Boolean |
getDefaultValue()
Provides the parameter's default value.
|
String |
getLabel()
Returns the label for the related checkbox on client side.
|
String |
getName()
Provides the parameter's name.
|
public ParameterBoolean(String name, String label, @Nullable Boolean defaultValue)
name - Name of this parameter, should be unique within a WebeditReportPlugin.label - The label for the related checkbox on client side.defaultValue - The default value of this parameter.public Boolean getDefaultValue()
getDefaultValue in interface Parameter<Boolean>public String getName()
public String getLabel()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500