Inheritance diagram for ObjCryst::WXFieldChoice:
Public Member Functions | |
WXFieldChoice (wxWindow *parent, const int field_id, const string &name, const int hsize=80) | |
Constructor. | |
virtual void | CrystUpdate (const bool updateUI=false, const bool mutexlock=false) |
Does nothing. | |
virtual void | UpdateUI (const bool mutexlock=false) |
Does nothing. | |
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, ...). | |
void | SetValue (const string &) |
Used by the owner to change the name of the choice. | |
virtual void | ValidateUserInput () |
Unnecessary here. Any change is immediately taken into account. | |
Protected Attributes | |
wxButton * | mpButton |
The button to be clicked to change the value. |
Choice change/update is handled by the WXCrystObj owner, who should grab the incoming event. Useful, for example, to change the scattering power associated to an atom.
|
Constructor.
|
|
Does nothing.
Implements ObjCryst::WXCrystObjBasic. |
|
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. |
|
Used by the owner to change the name of the choice.
|
|
Does nothing.
Implements ObjCryst::WXCrystObjBasic. |
|
Unnecessary here. Any change is immediately taken into account.
Implements ObjCryst::WXField. |
|
The button to be clicked to change the value.
|