| |
|
| java.lang.Object org.jaffa.presentation.portlet.widgets.model.WidgetModel org.jaffa.presentation.portlet.widgets.model.CheckBoxModel
CheckBoxModel | public class CheckBoxModel extends WidgetModel (Code) | | Model for the CheckBox widget.
|
Constructor Summary | |
public | CheckBoxModel(Boolean checkValue) Creates a new instance with the specified value. | public | CheckBoxModel(boolean checkValue) Creates a new instance with the specified value. |
Method Summary | |
public boolean | getState() Returns the value of the model. | public boolean | isModelChanged() See if model has changed, in the process reset the changed flag. | public void | setState(boolean checkValue) Sets the value of the model. |
CheckBoxModel | public CheckBoxModel(Boolean checkValue)(Code) | | Creates a new instance with the specified value.
Parameters: checkValue - the initial value. |
CheckBoxModel | public CheckBoxModel(boolean checkValue)(Code) | | Creates a new instance with the specified value.
Parameters: checkValue - the initial value. |
getState | public boolean getState()(Code) | | Returns the value of the model.
the value of the model. |
isModelChanged | public boolean isModelChanged()(Code) | | See if model has changed, in the process reset the changed flag.
true if the model was changed. |
setState | public void setState(boolean checkValue)(Code) | | Sets the value of the model.
Parameters: checkValue - The new value of the model. |
|
|
|