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

ObjCryst::WXCostFunction Class Reference

Field for a RefinableObj cost function. More...

#include <wxRefinableObj.h>

Inheritance diagram for ObjCryst::WXCostFunction::

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

Public Methods

 WXCostFunction (wxWindow *parent, RefinableObj *obj, const int field_id, const int funcNum, REAL *weight)
void OnEnter (wxCommandEvent &WXUNUSED(event))
virtual void CrystUpdate ()
 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.

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

virtual void ValidateUserInput ()
 Not used. Not an user input field.


Protected Attributes

wxTextCtrl * mpValue
REAL mValue
RefinableObjmpObj
const int mFuncNum
WXFieldPar< REAL > * mpWeight

Detailed Description

Field for a RefinableObj cost function.


The documentation for this class was generated from the following file:
Generated on Tue Feb 5 17:37:27 2002 for ObjCryst++ by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001