public class CmsLogicalCheckboxGroup extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
CmsLogicalCheckboxGroup.I_ChangeListener
Listener interface.
|
Constructor and Description |
---|
CmsLogicalCheckboxGroup() |
Modifier and Type | Method and Description |
---|---|
void |
add(com.vaadin.ui.CheckBox checkBox)
Adds a check box to the group.
|
com.vaadin.ui.CheckBox |
getSelected()
Gets the currently selected check box.
|
void |
remove(com.vaadin.ui.CheckBox checkBox)
Removes a check box from the group.
|
protected void |
setActiveCheckBox(com.vaadin.ui.CheckBox box)
Sets the active check box.
|
void |
setChangeListener(CmsLogicalCheckboxGroup.I_ChangeListener listener)
Sets the change listener.
|
public CmsLogicalCheckboxGroup()
public void add(com.vaadin.ui.CheckBox checkBox)
checkBox
- the check box to addpublic com.vaadin.ui.CheckBox getSelected()
public void remove(com.vaadin.ui.CheckBox checkBox)
checkBox
- the check boxpublic void setChangeListener(CmsLogicalCheckboxGroup.I_ChangeListener listener)
listener
- the change listenerprotected void setActiveCheckBox(com.vaadin.ui.CheckBox box)
box
- the active check box