Class CmsLogicalCheckboxGroup

  • public class CmsLogicalCheckboxGroup
    extends java.lang.Object
    Ensures that among a set of check boxes, at most one of them is checked, without imposing constraints on the location of the checkboxes in the UI.
    • Method Detail

      • add

        public void add​(com.vaadin.v7.ui.CheckBox checkBox)
        Adds a check box to the group.

        checkBox - the check box to add
      • getSelected

        public com.vaadin.v7.ui.CheckBox getSelected()
        Gets the currently selected check box.

        the check box
      • remove

        public void remove​(com.vaadin.v7.ui.CheckBox checkBox)
        Removes a check box from the group.

        checkBox - the check box
      • setActiveCheckBox

        protected void setActiveCheckBox​(com.vaadin.v7.ui.CheckBox box)
        Sets the active check box.

        box - the active check box