public abstract class CRadioButton extends CSelectableAction<CommonSimpleRadioAction>
JRadioButton
.CRadioButton
s can be added to a CRadioGroup
, only
one CRadioButton
of such a group will be selected.Modifier | Constructor and Description |
---|---|
|
CRadioButton()
Creates a new radiobutton
|
protected |
CRadioButton(CommonSimpleRadioAction action)
Creates a new radiobutton using
action as internal representation |
|
CRadioButton(java.lang.String text,
javax.swing.Icon icon)
Creates a new radiobutton
|
Modifier and Type | Method and Description |
---|---|
protected void |
init(CommonSimpleRadioAction action)
Initializes this action, this method can be called only once.
|
changed, getDisabledSelectedHoverIcon, getDisabledSelectedPressedIcon, getSelectedHoverIcon, getSelectedIcon, getSelectedPressedIcon, isSelected, setDisabledSelectedHoverIcon, setDisabledSelectedPressedIcon, setSelected, setSelectedHoverIcon, setSelectedIcon, setSelectedPressedIcon
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
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
public CRadioButton()
protected CRadioButton(CommonSimpleRadioAction action)
action
as internal representationaction
- the internal representation, can be null
in which case
subclasses should call init(CommonSimpleRadioAction)
public CRadioButton(java.lang.String text, javax.swing.Icon icon)
text
- the text of this buttonicon
- the icon of this buttonprotected void init(CommonSimpleRadioAction action)
CDecorateableAction
init
in class CSelectableAction<CommonSimpleRadioAction>
action
- the internal representation