bibliothek.gui.dock.common.action
Class CCheckBox

java.lang.Object
  extended by bibliothek.gui.dock.common.action.CAction
      extended by bibliothek.gui.dock.common.intern.action.CDecorateableAction<A>
          extended by bibliothek.gui.dock.common.intern.action.CDropDownItem<A>
              extended by bibliothek.gui.dock.common.intern.action.CSelectableAction<CommonSimpleCheckAction>
                  extended by bibliothek.gui.dock.common.action.CCheckBox

public abstract class CCheckBox
extends CSelectableAction<CommonSimpleCheckAction>

An action which behaves like a JCheckBox.

Author:
Benjamin Sigg

Constructor Summary
  CCheckBox()
          Creates a new checkbox
protected CCheckBox(CommonSimpleCheckAction action)
          Creates a new checkbox using action as internal representation.
  CCheckBox(String text, Icon icon)
          Creates a new checkbox.
 
Method Summary
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CSelectableAction
changed, getDisabledSelectedHoverIcon, getDisabledSelectedPressedIcon, getSelectedHoverIcon, getSelectedIcon, getSelectedPressedIcon, init, isSelected, setDisabledSelectedHoverIcon, setDisabledSelectedPressedIcon, setSelected, setSelectedHoverIcon, setSelectedIcon, setSelectedPressedIcon
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDropDownItem
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction
addDecorateableActionListener, getAccelerator, getDisabledHoverIcon, getDisabledIcon, getDisabledPressedIcon, getHoverIcon, getIcon, getPressedIcon, getText, getTooltip, intern, isEnabled, isShowTextOnButtons, removeDecorateableActionListener, setAccelerator, setDisabledHoverIcon, setDisabledIcon, setDisabledPressedIcon, setEnabled, setHoverIcon, setIcon, setPressedIcon, setShowTextOnButtons, setText, setTooltip
 
Methods inherited from class bibliothek.gui.dock.common.action.CAction
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 #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