bibliothek.gui.dock.common.action
Class CRadioButton

java.lang.Object
  extended by bibliothek.gui.dock.common.action.CAction
      extended by bibliothek.gui.dock.common.intern.action.CDecorateableAction
          extended by bibliothek.gui.dock.common.intern.action.CDropDownItem
              extended by bibliothek.gui.dock.common.intern.action.CSelectableAction
                  extended by bibliothek.gui.dock.common.action.CRadioButton

public abstract class CRadioButton
extends CSelectableAction

An action which behaves like a JRadioButton.
Several CRadioButtons can be added to a CRadioGroup, only one CRadioButton of such a group will be selected.

Author:
Benjamin Sigg

Constructor Summary
CRadioButton()
          Creates a new radiobutton
CRadioButton(String text, Icon icon)
          Creates a new radiobutton
 
Method Summary
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CSelectableAction
changed, getSelectedIcon, isSelected, setSelected, setSelectedIcon
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDropDownItem
init, isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
 
Methods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction
getAccelerator, getDisabledIcon, getIcon, getText, getTooltip, init, isEnabled, setAccelerator, setDisabledIcon, setEnabled, setIcon, setText, setTooltip
 
Methods inherited from class bibliothek.gui.dock.common.action.CAction
init, intern
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRadioButton

public CRadioButton()
Creates a new radiobutton


CRadioButton

public CRadioButton(String text,
                    Icon icon)
Creates a new radiobutton

Parameters:
text - the text of this button
icon - the icon of this button