nux-0.9.48
|
The base class of Button, CheckBox, RadioButton and PushButton. More...
#include <Nux/AbstractButton.h>
Public Member Functions | |
AbstractButton (const TCHAR *Caption=TEXT(""), NUX_FILE_LINE_PROTO) | |
~AbstractButton () | |
virtual void | SetCaption (const TCHAR *Caption)=0 |
virtual const NString & | GetCaption () const =0 |
virtual void | SetState (bool b)=0 |
virtual void | SetState (bool State, bool EmitSignal)=0 |
virtual bool | GetState () const =0 |
Protected Attributes | |
bool | _state |
The base class of Button, CheckBox, RadioButton and PushButton.
nux::AbstractButton::AbstractButton | ( | const TCHAR * | Caption = TEXT("") , |
NUX_FILE_LINE_PROTO | |||
) |
nux::AbstractButton::~AbstractButton | ( | ) |
virtual const NString& nux::AbstractButton::GetCaption | ( | ) | const [pure virtual] |
Implemented in nux::Button, nux::CheckBox, nux::PushButton, and nux::RadioButton.
virtual bool nux::AbstractButton::GetState | ( | ) | const [pure virtual] |
Implemented in nux::Button, nux::CheckBox, nux::PushButton, and nux::RadioButton.
virtual void nux::AbstractButton::SetCaption | ( | const TCHAR * | Caption | ) | [pure virtual] |
Implemented in nux::Button, nux::CheckBox, nux::PushButton, and nux::RadioButton.
virtual void nux::AbstractButton::SetState | ( | bool | b | ) | [pure virtual] |
Implemented in nux::Button, nux::CheckBox, nux::PushButton, and nux::RadioButton.
virtual void nux::AbstractButton::SetState | ( | bool | State, |
bool | EmitSignal | ||
) | [pure virtual] |
Implemented in nux::Button, nux::CheckBox, nux::PushButton, and nux::RadioButton.
bool nux::AbstractButton::_state [protected] |