Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File 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 Revert ()
 Revert to the previous value.


Protected Methods

virtual void ReadNewValue ()
 Reads the new value when the Enter key is hit.

virtual void ApplyNewValue ()
 Applies a new value and shows it.


Protected Attributes

T * mpValue
 A pointer to the value displayed.

mValueOld
 The last value displayed, before it was changed by the user.


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 Wed Nov 14 19:48:38 2001 for ObjCryst++ by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001