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

ObjCryst::WXFieldPar Class Template Reference

A field for a parameter. Template version. If the parameter is a RefinablePar, use WXFieldRefPar instead. More...

#include <wxCryst.h>

Inheritance diagram for ObjCryst::WXFieldPar::

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

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


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.

mValue
 The value displayed.

mValueOld
 Last value.


Detailed Description

template<class T>
class ObjCryst::WXFieldPar< T >

A field for a parameter. Template version. If the parameter is a RefinablePar, use WXFieldRefPar instead.


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