Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_checkboxes

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

        protected java.util.Set<java.lang.Integer> m_selectedCheckboxes
      • m_notSelectedCheckboxes

        protected java.util.Set<java.lang.Integer> m_notSelectedCheckboxes
    • Constructor Detail

      • CheckboxGenerator

        public CheckboxGenerator​(java.lang.String valueProperty)
    • 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 interface com.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 interface com.vaadin.v7.data.Container.ItemSetChangeListener