Inheritance diagram for CEGUI::RadioButton:
Public Member Functions | |
bool | isSelected (void) const |
return true if the radio button is selected (has the checkmark) | |
ulong | getGroupID (void) const |
return the groupID assigned to this radio button | |
RadioButton * | getSelectedButtonInGroup (void) const |
Return a pointer to the RadioButton object within the same group as this RadioButton, that is currently selected. | |
void | setSelected (bool select) |
set whether the radio button is selected or not | |
void | setGroupID (ulong group) |
set the groupID for this radio button | |
RadioButton (const String &type, const String &name) | |
Static Public Attributes | |
static const String | EventNamespace |
Namespace for global events. | |
static const String | EventSelectStateChanged |
The selected state of the widget has changed. | |
Protected Member Functions | |
void | addRadioButtonEvents (void) |
Add radio button specific events. | |
void | deselectOtherButtonsInGroup (void) const |
Deselect any selected radio buttons attached to the same parent within the same group (but not do not deselect 'this'). | |
virtual bool | testClassName_impl (const String &class_name) const |
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy. | |
virtual void | onSelectStateChanged (WindowEventArgs &e) |
event triggered internally when the select state of the button changes. | |
virtual void | onMouseButtonUp (MouseEventArgs &e) |
Handler called when a mouse button has been released within this window's area. | |
Protected Attributes | |
bool | d_selected |
ulong | d_groupID |
|
return the groupID assigned to this radio button
|
|
Return a pointer to the RadioButton object within the same group as this RadioButton, that is currently selected.
|
|
return true if the radio button is selected (has the checkmark)
|
|
Handler called when a mouse button has been released within this window's area.
Reimplemented from CEGUI::ButtonBase. |
|
set the groupID for this radio button
|
|
set whether the radio button is selected or not
|
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Reimplemented from CEGUI::ButtonBase. |