public class CheckboxGenerator extends Object implements com.vaadin.v7.ui.Table.ColumnGenerator, com.vaadin.v7.data.Container.ItemSetChangeListener
Modifier and Type | Field and Description |
---|---|
protected Set<com.vaadin.v7.ui.CheckBox> |
m_checkboxes |
protected Set<Integer> |
m_notSelectedCheckboxes |
protected Set<Integer> |
m_selectedCheckboxes |
Constructor and Description |
---|
CheckboxGenerator(String valueProperty) |
Modifier and Type | Method and 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) |
protected final Set<com.vaadin.v7.ui.CheckBox> m_checkboxes
public CheckboxGenerator(String valueProperty)
public Object generateCell(com.vaadin.v7.ui.Table source, Object itemId, Object columnId)
generateCell
in interface com.vaadin.v7.ui.Table.ColumnGenerator
public void clearSelectedIds(com.vaadin.v7.ui.Table source)
public void selectAll(com.vaadin.v7.ui.Table source)
public void containerItemSetChange(com.vaadin.v7.data.Container.ItemSetChangeEvent event)
containerItemSetChange
in interface com.vaadin.v7.data.Container.ItemSetChangeListener
Copyright © 2021. All rights reserved.