![]() |
Clapkit
|
Defines the base class for all controls and objects. More...
#include <ckObject.h>
Public Member Functions | |
CKObject () | |
virtual | ~CKObject () |
virtual void | AddHandler (CKEventType type, CKEventHandlerFunc cb) |
virtual void | RemoveHandler (CKEventType type) |
virtual bool | HasHandler (CKEventType type) const |
virtual bool | HandleEvent (const CKEvent &evt) |
virtual void | SetPropertyObserver (CKPropertyObserverFunc cb) |
virtual void | UnsetPropertyObserver () |
virtual void | RaisePropertyChange (const char *propertyName) |
Protected Attributes | |
std::map< CKEventType, CKEventHandlerFunc > | __handlers |
CKPropertyObserverFunc | propertyObserverCB = nullptr |
Defines the base class for all controls and objects.
CKObject::CKObject | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in CKCheckbox, CKControlToolbox, CKDropdown, CKRadiobox, CKTextArea, CKTextField, and CKWindow.
|
virtual |
|
virtual |
Reimplemented in CKControl, CKControlToolbox, CKDropdown, CKLabel, CKTextArea, and CKWindow.
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |