bibliothek.gui.dock.common.action
Class CRadioButton
java.lang.Object
bibliothek.gui.dock.common.action.CAction
bibliothek.gui.dock.common.intern.action.CDecorateableAction
bibliothek.gui.dock.common.intern.action.CDropDownItem
bibliothek.gui.dock.common.intern.action.CSelectableAction
bibliothek.gui.dock.common.action.CRadioButton
public abstract class CRadioButton
- extends CSelectableAction
An action which behaves like a JRadioButton
.
Several CRadioButton
s can be added to a CRadioGroup
, only
one CRadioButton
of such a group will be selected.
- Author:
- Benjamin Sigg
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRadioButton
public CRadioButton()
- Creates a new radiobutton
CRadioButton
public CRadioButton(String text,
Icon icon)
- Creates a new radiobutton
- Parameters:
text
- the text of this buttonicon
- the icon of this button