Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

ObjCryst::WXFieldRefPar Class Reference

A field for a RefinablePar. More...

Inheritance diagram for ObjCryst::WXFieldRefPar:

ObjCryst::WXField ObjCryst::WXCrystObjBasic List of all members.

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.

RefinableParGetRefPar ()
 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.


Detailed Description

A field for a RefinablePar.

This shows the 'human' value of the parameter, and allows the modification of the parameter. A button allows to fix/unfix the parameter.

Todo:
: allow acces to the parameters limits


Constructor & Destructor Documentation

ObjCryst::WXFieldRefPar::~WXFieldRefPar  
 

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().


Member Function Documentation

virtual void ObjCryst::WXFieldRefPar::CrystUpdate   [virtual]
 

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.


The documentation for this class was generated from the following file:
Generated on Wed Jun 25 23:26:32 2003 for ObjCryst++ by doxygen1.2.18