| java.lang.Object ejp.presenter.api.filters.parameters.AbstractParameter ejp.presenter.api.filters.parameters.BooleanParameter
BooleanParameter | public class BooleanParameter extends AbstractParameter (Code) | | A Boolean parameter, graphically represented as a check box.
author: Sebastien Vauclair version: $Revision: 1.6 $ $Date: 2005/02/14 12:06:19 $ |
BooleanParameter | public BooleanParameter(String aName, String aTitle, String aToolTipText)(Code) | | Creates a new Boolean parameter instance.
Parameters: aName - the parameter's name. Parameters: aTitle - text caption of active state. Parameters: aToolTipText - tool-tip text. |
getBooleanValue | public boolean getBooleanValue()(Code) | | Gets current value of the parameter.
a boolean value. |
getValue | public Object getValue()(Code) | | Gets value as an object.
a Boolean value. |
getValueAsText | public String getValueAsText()(Code) | | Gets value as text.
The method Boolean.toString() is used to generate text.
|
setReadOnly | public void setReadOnly()(Code) | | Implementation of read-only activating.
Locks the check box's state.
|
setValue | public void setValue(Boolean aValue)(Code) | | Sets parameter's state.
Current state is holded by the check box.
Parameters: aValue - new state. |
setValueAsText | public void setValueAsText(String aTextValue)(Code) | | Sets value from text.
The constructor Boolean(String) is used to parse the string
to a Boolean value; refer to it for syntax definition.
|
|
|