Module org.apache.wicket.extensions
Class AbstractCheckBoxModel
java.lang.Object
org.apache.wicket.extensions.model.AbstractCheckBoxModel
- All Implemented Interfaces:
Serializable
,IDetachable
,IModel<Boolean>
,IClusterable
Model adapter that makes working with models for checkboxes easier.
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
-
Constructor Details
-
AbstractCheckBoxModel
public AbstractCheckBoxModel()
-
-
Method Details
-
isSelected
- Returns:
- true to indicate the checkbox should be selected, false otherwise
-
select
Called when checkbox has been selected -
unselect
Called when checkbox is unselected -
getObject
Description copied from interface:IModel
Gets the model object. -
setObject
Description copied from interface:IModel
Sets the model object.
-