Class CCheckBox


public abstract class CCheckBox extends CSelectableAction<CommonSimpleCheckAction>
An action which behaves like a JCheckBox.
Author:
Benjamin Sigg
  • Constructor Details

    • CCheckBox

      public CCheckBox()
      Creates a new checkbox
    • CCheckBox

      protected CCheckBox(CommonSimpleCheckAction action)
      Creates a new checkbox using action as internal representation.
      Parameters:
      action - the internal representation, can be null in which case a subclass should call CSelectableAction<>.init(CommonSimpleCheckAction)
    • CCheckBox

      public CCheckBox(String text, Icon icon)
      Creates a new checkbox.
      Parameters:
      text - the text of this checkbox
      icon - the icon of this checkbox