Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File 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, double *weight)
void OnUpdateUI (wxUpdateUIEvent &WXUNUSED(event))
void OnEnter (wxCommandEvent &WXUNUSED(event))
virtual void CrystUpdate ()
 Update the display, by getting new values from the object. New values should be grabbed from the object, and then a wxUpdateUI event should be posted (this for multi-thread, since only one thread should do graphical changes).

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


Protected Attributes

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

Detailed Description

Field for a RefinableObj cost function.


The documentation for this class was generated from the following file:
Generated on Wed Nov 14 19:48:38 2001 for ObjCryst++ by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001