Public Member Functions | Public Attributes

fl7::faces::RadioButton Class Reference

#include <RadioButton.h>

Inheritance diagram for fl7::faces::RadioButton:
fl7::faces::Control fl7::faces::Face

List of all members.

Public Member Functions

 RadioButton (Shell *const shell)
virtual ~RadioButton (void)
const cl7::string_typeGetCaption () const
bool GetChecked () const
void SetCaption (const cl7::string_type &caption)
void SetChecked (bool checked)

Public Attributes

events::EventHandler
< events::EventArgs
OnClickEventHandler
friend Shell

Detailed Description

The class for clickable radio buttons. If several radio buttons belong to one group, only one radio single radion button may be checked.


Constructor & Destructor Documentation

fl7::faces::RadioButton::RadioButton ( Shell *const   shell  ) 

Explicit constructor.

fl7::faces::RadioButton::~RadioButton ( void   )  [virtual]

Destructor.


Member Function Documentation

const cl7::string_type& fl7::faces::RadioButton::GetCaption (  )  const [inline]

Returns the caption of this radio button.

bool fl7::faces::RadioButton::GetChecked (  )  const [inline]

Returns the flag indicating whether this radio button is checked.

void fl7::faces::RadioButton::SetCaption ( const cl7::string_type caption  )  [inline]

Sets the caption of this radio button.

void fl7::faces::RadioButton::SetChecked ( bool  checked  ) 

Sets the flag indicating whether this radio button is checked. If the flag is set to true, other radio buttons of the same group will be unchecked.


Member Data Documentation

Will be called after this button has been clicked.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines