Inheritance diagram for ObjCryst::WXFieldPar< T >:
Public Methods | |
WXFieldPar (wxWindow *parent, const string &label, const int field_id, T *par, const int hsize=50) | |
Constructor. | |
virtual void | CrystUpdate () |
This gets a new value from the parameter. | |
virtual void | UpdateUI () |
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 Methods | |
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.
|
Set Coefficient between the value used by ObjCryst++ and the one to be displayed to the user. Typically, 180/pi |
|
Coefficient between the value used by ObjCryst++ and the one to be displayed to the user. Typically, 180/pi |