Class CRadioButton
An action which behaves like a
Several
JRadioButton.Several
CRadioButtons can be added to a CRadioGroup, only
one CRadioButton of such a group will be selected.- Author:
- Benjamin Sigg
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a new radiobuttonprotectedCRadioButton(CommonSimpleRadioAction action) Creates a new radiobutton usingactionas internal representationCRadioButton(String text, Icon icon) Creates a new radiobutton -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit(CommonSimpleRadioAction action) Initializes this action, this method can be called only once.Methods inherited from class bibliothek.gui.dock.common.intern.action.CSelectableAction
changed, getDisabledSelectedHoverIcon, getDisabledSelectedPressedIcon, getSelectedHoverIcon, getSelectedIcon, getSelectedPressedIcon, isSelected, setDisabledSelectedHoverIcon, setDisabledSelectedPressedIcon, setSelected, setSelectedHoverIcon, setSelectedIcon, setSelectedPressedIconMethods inherited from class bibliothek.gui.dock.common.intern.action.CDropDownItem
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedMethods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction
addDecorateableActionListener, getAccelerator, getDisabledHoverIcon, getDisabledIcon, getDisabledPressedIcon, getHoverIcon, getIcon, getPressedIcon, getText, getTooltip, intern, isAcceleratorGlobal, isEnabled, isShowTextOnButtons, removeDecorateableActionListener, setAccelerator, setAcceleratorIsGlobal, setDisabledHoverIcon, setDisabledIcon, setDisabledPressedIcon, setEnabled, setHoverIcon, setIcon, setPressedIcon, setShowTextOnButtons, setText, setTooltip
-
Constructor Details
-
CRadioButton
public CRadioButton()Creates a new radiobutton -
CRadioButton
Creates a new radiobutton usingactionas internal representation- Parameters:
action- the internal representation, can benullin which case subclasses should callinit(CommonSimpleRadioAction)
-
CRadioButton
Creates a new radiobutton- Parameters:
text- the text of this buttonicon- the icon of this button
-
-
Method Details
-
init
Description copied from class:CDecorateableActionInitializes this action, this method can be called only once.- Overrides:
initin classCSelectableAction<CommonSimpleRadioAction>- Parameters:
action- the internal representation
-