public class CheckBoxModel extends AbstractCheckBoxModel
| Constructor and Description |
|---|
CheckBoxModel(IModel<Collection<Serializable>> selection,
Serializable token)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelected() |
void |
select() |
void |
unselect() |
getObject, setObjectpublic CheckBoxModel(IModel<Collection<Serializable>> selection, Serializable token)
selection - model that contains a collection of tokens which will represent selection statetoken - token whose presense in the collection represents a selection statepublic boolean isSelected()
isSelected in class AbstractCheckBoxModelpublic void select()
select in class AbstractCheckBoxModelpublic void unselect()
unselect in class AbstractCheckBoxModelCopyright © 2005–2024 Wicket developers. All rights reserved.