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
,java.io.Serializable
public class CheckboxGenerator extends java.lang.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 java.util.Set<com.vaadin.v7.ui.CheckBox>
m_checkboxes
protected java.util.Set<java.lang.Integer>
m_notSelectedCheckboxes
protected java.util.Set<java.lang.Integer>
m_selectedCheckboxes
-
Constructor Summary
Constructors Constructor Description CheckboxGenerator(java.lang.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)
java.lang.Object
generateCell(com.vaadin.v7.ui.Table source, java.lang.Object itemId, java.lang.Object columnId)
java.util.Set<java.lang.Integer>
getSelectedIds(com.vaadin.v7.ui.Table source)
void
selectAll(com.vaadin.v7.ui.Table source)
-
-
-
Method Detail
-
generateCell
public java.lang.Object generateCell(com.vaadin.v7.ui.Table source, java.lang.Object itemId, java.lang.Object columnId)
- Specified by:
generateCell
in interfacecom.vaadin.v7.ui.Table.ColumnGenerator
-
getSelectedIds
public java.util.Set<java.lang.Integer> getSelectedIds(com.vaadin.v7.ui.Table source)
-
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
-
-