Inheritance diagram for ObjCryst::WXFieldRefPar:
Public Methods | |
~WXFieldRefPar () | |
When a new value is entered (must type it and then hit the 'enter' key). | |
void | OnText (wxCommandEvent &WXUNUSED(event)) |
Records when text is entered (either from self-updating or user input). | |
void | OnToggleFix (wxCommandEvent &WXUNUSED(event)) |
Toggle the 'fixed' status of the parameter. | |
void | OnToggleLimited (wxCommandEvent &WXUNUSED(event)) |
Toggle the 'limited' status of the parameter. | |
void | OnPopupMenu (wxCommandEvent &event) |
Opens the popu menu, to allow changing limits. | |
void | OnPopupMenuChoice (wxMenuEvent &event) |
Opens the popu menu, to allow changing limits. | |
virtual void | CrystUpdate () |
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. | |
virtual void | UpdateUI () |
Update the User Interface, if necessary. | |
RefinablePar & | GetRefPar () |
Get the RefinablePar associated to this field. | |
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 () |
This function shall be called when a new value has been entered. |
This shows the 'human' value of the parameter, and allows the modification of the parameter. A button allows to fix/unfix the parameter.
|
When a new value is entered (must type it and then hit the 'enter' key). The Field reads the new value, and directly changes the RefinablePar value (contrary to what happens for WXFieldName)by using RefinablePar::SetHumanValue(). |
|
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. |