Inheritance diagram for ObjCryst::WXFieldPar< T >:
Public Member Functions | |
WXFieldPar (wxWindow *parent, const string &label, const int field_id, T *par, const int hsize=50) | |
Constructor. | |
virtual void | CrystUpdate (const bool updateUI=false, const bool mutexlock=false) |
This gets a new value from the parameter. | |
virtual void | UpdateUI (const bool mutexlock=false) |
Update the User Interface, if necessary. | |
virtual 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 | SetHumanValueScale (const T s) |
Set Coefficient between the value used by ObjCryst++ and the one to be displayed to the user. | |
Protected Member Functions | |
virtual void | ReadNewValue () |
Reads the new value when the Enter key is hit. | |
Protected Attributes | |
T * | mpValue |
A pointer to the value displayed. | |
T | mValue |
The value displayed. | |
T | mValueOld |
Last value. | |
T | mHumanScale |
Coefficient between the value used by ObjCryst++ and the one to be displayed to the user. |
Template version. If the parameter is a RefinablePar, use WXFieldRefPar instead.
|
Constructor.
|
|
This gets a new value from the parameter.
Implements ObjCryst::WXFieldParBase. |
|
Reads the new value when the Enter key is hit.
Implements ObjCryst::WXFieldParBase. |
|
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::WXFieldParBase. |
|
Set Coefficient between the value used by ObjCryst++ and the one to be displayed to the user. Typically, 180/pi |
|
Update the User Interface, if necessary.
Implements ObjCryst::WXCrystObjBasic. |
|
Coefficient between the value used by ObjCryst++ and the one to be displayed to the user. Typically, 180/pi |
|
A pointer to the value displayed.
|
|
The value displayed.
|
|
Last value.
|