Inheritance diagram for os::Control:
Public Member Functions | |
Control (const Rect &cFrame, const String &cName, const String &cLabel, Message *pcMessage, uint32 nResizeMask, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND) | |
~Control () | |
virtual void | AttachedToWindow (void) |
virtual void | DetachedFromWindow (void) |
virtual bool | PreValueChange (Variant *pcNewValue) |
virtual void | PostValueChange (const Variant &cNewValue) |
virtual void | LabelChanged (const String &cNewLabel) |
virtual void | EnableStatusChanged (bool bIsEnabled)=0 |
virtual bool | Invoked (Message *pcMessage) |
Intercept outgoing messages. | |
virtual void | SetEnable (bool bEnabled) |
virtual bool | IsEnabled (void) const |
virtual void | SetLabel (const String &cLabel) |
virtual String | GetLabel (void) const |
virtual void | SetValue (Variant cValue, bool bInvoke=true) |
virtual Variant | GetValue () const |
virtual void | __CTRL_reserved1__ () |
virtual void | __CTRL_reserved2__ () |
virtual void | __CTRL_reserved3__ () |
virtual void | __CTRL_reserved4__ () |
virtual void | __CTRL_reserved5__ () |
Classes | |
class | Private |
Control::Control | ( | const Rect & | cFrame, | |
const String & | cName, | |||
const String & | cLabel, | |||
Message * | pcMessage, | |||
uint32 | nResizeMask, | |||
uint32 | nFlags = WID_WILL_DRAW|WID_CLEAR_BACKGROUND | |||
) |
Control::~Control | ( | ) |
void Control::AttachedToWindow | ( | void | ) | [virtual] |
Reimplemented from os::View.
Reimplemented in os::ColorSelector, os::DirectoryView, os::IconDirectoryView, os::RadioButton, and os::Slider.
void Control::DetachedFromWindow | ( | void | ) | [virtual] |
bool Control::PreValueChange | ( | Variant * | pcNewValue | ) | [virtual] |
void Control::PostValueChange | ( | const Variant & | cNewValue | ) | [virtual] |
Reimplemented in os::Button, os::CheckBox, os::ColorSelector, os::RadioButton, os::ScrollBar, os::Slider, and os::Spinner.
void Control::LabelChanged | ( | const String & | cNewLabel | ) | [virtual] |
Reimplemented in os::Button, os::CheckBox, os::ListView, os::RadioButton, os::ScrollBar, os::Spinner, and os::TextView.
virtual void os::Control::EnableStatusChanged | ( | bool | bIsEnabled | ) | [pure virtual] |
Implemented in os::Button, os::CheckBox, os::ColorSelector, os::IconView, os::ListView, os::RadioButton, os::ScrollBar, os::Slider, os::Spinner, and os::TextView.
bool Control::Invoked | ( | Message * | pcMessage | ) | [virtual] |
pcMessage | Pointer to the message that is about to be sendt. You can do any modification you like to this message (but never delete it). |
Reimplemented from os::Invoker.
Reimplemented in os::Button, os::CheckBox, os::ListView, os::RadioButton, os::ScrollBar, os::Slider, os::Spinner, and os::TextView.
void Control::SetEnable | ( | bool | bEnabled | ) | [virtual] |
Reimplemented in os::Spinner.
bool Control::IsEnabled | ( | void | ) | const [virtual] |
Reimplemented in os::Spinner.
void Control::SetLabel | ( | const String & | cLabel | ) | [virtual] |
String Control::GetLabel | ( | void | ) | const [virtual] |
void Control::SetValue | ( | Variant | cValue, | |
bool | bInvoke = true | |||
) | [virtual] |
Reimplemented in os::ColorSelector, and os::TextView.
Variant Control::GetValue | ( | ) | const [virtual] |
Reimplemented in os::TextView.
void Control::__CTRL_reserved1__ | ( | ) | [virtual] |
void Control::__CTRL_reserved2__ | ( | ) | [virtual] |
void Control::__CTRL_reserved3__ | ( | ) | [virtual] |
void Control::__CTRL_reserved4__ | ( | ) | [virtual] |
void Control::__CTRL_reserved5__ | ( | ) | [virtual] |