Class CheckboxGenerator
- java.lang.Object
-
- org.opennms.features.topology.plugins.browsers.CheckboxGenerator
-
- All Implemented Interfaces:
com.vaadin.v7.data.Container.ItemSetChangeListener
,com.vaadin.v7.ui.Table.ColumnGenerator
,Serializable
public class CheckboxGenerator extends Object implements com.vaadin.v7.ui.Table.ColumnGenerator, com.vaadin.v7.data.Container.ItemSetChangeListener
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<com.vaadin.v7.ui.CheckBox>
m_checkboxes
protected Set<Integer>
m_notSelectedCheckboxes
protected Set<Integer>
m_selectedCheckboxes
-
Constructor Summary
Constructors Constructor Description CheckboxGenerator(String valueProperty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearSelectedIds(com.vaadin.v7.ui.Table source)
void
containerItemSetChange(com.vaadin.v7.data.Container.ItemSetChangeEvent event)
Object
generateCell(com.vaadin.v7.ui.Table source, Object itemId, Object columnId)
Set<Integer>
getSelectedIds(com.vaadin.v7.ui.Table source)
void
selectAll(com.vaadin.v7.ui.Table source)
-
-
-
Constructor Detail
-
CheckboxGenerator
public CheckboxGenerator(String valueProperty)
-
-
Method Detail
-
generateCell
public Object generateCell(com.vaadin.v7.ui.Table source, Object itemId, Object columnId)
- Specified by:
generateCell
in interfacecom.vaadin.v7.ui.Table.ColumnGenerator
-
clearSelectedIds
public void clearSelectedIds(com.vaadin.v7.ui.Table source)
-
selectAll
public void selectAll(com.vaadin.v7.ui.Table source)
-
containerItemSetChange
public void containerItemSetChange(com.vaadin.v7.data.Container.ItemSetChangeEvent event)
- Specified by:
containerItemSetChange
in interfacecom.vaadin.v7.data.Container.ItemSetChangeListener
-
-