Class Checkbox

    • Constructor Detail

      • Checkbox

        public Checkbox()
      • Checkbox

        public Checkbox​(java.lang.Object buttonData)
    • Method Detail

      • press

        public void press()
        Description copied from class: Button
        "Presses" the button. Performs any action associated with the button.
        Overrides:
        press in class Button
      • setToggleButton

        @UnsupportedOperation
        public void setToggleButton​(boolean toggleButton)
        This operation is not supported for checkboxes.
        Overrides:
        setToggleButton in class Button
        Parameters:
        toggleButton - Whether or not this should be a toggle button.
        Throws:
        java.lang.UnsupportedOperationException - always since this is unsupported.
      • setButtonGroup

        @UnsupportedOperation
        public void setButtonGroup​(ButtonGroup buttonGroup)
        This operation is not supported for checkboxes.
        Overrides:
        setButtonGroup in class Button
        Parameters:
        buttonGroup - The group to which the button will belong, or null if the button will not belong to a group.
        Throws:
        java.lang.UnsupportedOperationException - always since this is unsupported.