Class 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 Detail

      • m_checkboxes

        protected final Set<com.vaadin.v7.ui.CheckBox> m_checkboxes
      • m_selectedCheckboxes

        protected Set<Integer> m_selectedCheckboxes
      • m_notSelectedCheckboxes

        protected Set<Integer> m_notSelectedCheckboxes
    • 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 interface com.vaadin.v7.ui.Table.ColumnGenerator
      • getSelectedIds

        public Set<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 interface com.vaadin.v7.data.Container.ItemSetChangeListener