public class CheckBoxModel
extends org.apache.wicket.extensions.model.AbstractCheckBoxModel
Constructor and Description |
---|
CheckBoxModel(org.apache.wicket.model.IModel<Collection<Serializable>> selection,
Serializable token)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelected() |
void |
select() |
void |
unselect() |
public CheckBoxModel(org.apache.wicket.model.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 org.apache.wicket.extensions.model.AbstractCheckBoxModel
public void select()
select
in class org.apache.wicket.extensions.model.AbstractCheckBoxModel
public void unselect()
unselect
in class org.apache.wicket.extensions.model.AbstractCheckBoxModel
Copyright © 2015. All rights reserved.