Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::gui::RadioButtonGroup Class Reference

List of all members.

Detailed Description

a group of RadioButtons

Only one RadioButton per group may be active.

Author:
Daniel Seibert


Public Member Functions

void add (RadioButton *)
 adds a button to this group
void clear ()
 removes all buttons from this group
RadioButtongetActiveButton () const
 RadioButtonGroup ()
void remove (RadioButton *)
 removes the given button from this group
void setActiveButton (RadioButton *)
 selects this group's active button


Constructor & Destructor Documentation

ONE::gui::RadioButtonGroup::RadioButtonGroup  ) 
 


Member Function Documentation

void ONE::gui::RadioButtonGroup::add RadioButton  ) 
 

adds a button to this group

This function deactivates the given button

void ONE::gui::RadioButtonGroup::clear  ) 
 

removes all buttons from this group

RadioButton* ONE::gui::RadioButtonGroup::getActiveButton  )  const
 

Returns:
the currently active button. If no button is active, this function returns 0

void ONE::gui::RadioButtonGroup::remove RadioButton  ) 
 

removes the given button from this group

void ONE::gui::RadioButtonGroup::setActiveButton RadioButton  ) 
 

selects this group's active button

The previously active button is deactivated. Note that this function does not activate the given button.


Generated on Wed Sep 7 19:03:19 2005 for ONEngine by  doxygen 1.4.3