Inheritance diagram for ObjCryst::WXFieldOption:
Public Member Functions | |
WXFieldOption (wxWindow *parent, const int field_id, RefObjOpt *option) | |
virtual | ~WXFieldOption () |
void | OnUpdateUI (wxUpdateUIEvent &WXUNUSED(event)) |
void | OnChoice (wxCommandEvent &WXUNUSED(event)) |
When a new value is entered. | |
virtual void | CrystUpdate (const bool updateUI=false, const bool mutexlock=false) |
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. | |
virtual void | UpdateUI (const bool mutexlock=false) |
Update the User Interface, if necessary. | |
void | Revert () |
After a user entry, this allows to go back to the last value, if for some reason the entry was rejected (because the object is currently busy, ...). | |
virtual void | ValidateUserInput () |
Does nothing. Any user input is directly validated (OnChoice). | |
Protected Attributes | |
int | mChoice |
int | mChoiceOld |
RefObjOpt * | mpOption |
wxChoice * | mpList |
|
|
|
|
|
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. The actual GUI update is not made here. UpdateUI() should be called separately, from the main thread.
Implements ObjCryst::WXCrystObjBasic. |
|
When a new value is entered. The Field reads the new value, then forwards the event to its owner, who will take care of anything that must be done. |
|
|
|
After a user entry, this allows to go back to the last value, if for some reason the entry was rejected (because the object is currently busy, ...).
Implements ObjCryst::WXField. |
|
Update the User Interface, if necessary.
Implements ObjCryst::WXCrystObjBasic. |
|
Does nothing. Any user input is directly validated (OnChoice).
Implements ObjCryst::WXField. |
|
|
|
|
|
|
|
|