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

ObjCryst::WXFieldChoice Class Reference

Class to pick one choice... Choice change/update is handled by the WXCrystObj owner, who should grab the incoming event. Useful, for example, to change the scattering power associated to an atom. More...

#include <wxCryst.h>

Inheritance diagram for ObjCryst::WXFieldChoice::

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

Public Methods

 WXFieldChoice (wxWindow *parent, const int field_id, const string &name, const int hsize=80)
 Constructor.

bool Layout ()
 Redo the layout of the field.

virtual void CrystUpdate ()
 Does nothing.

virtual void UpdateUI ()
 Does nothing.

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

void SetValue (const string &)
 Used by the owner to change the name of the choice.

virtual void ValidateUserInput ()
 Unnecessary here. Any change is immediately taken into account.


Protected Attributes

wxButton * mpButton
 The button to be clicked to change the value.


Detailed Description

Class to pick one choice... Choice change/update is handled by the WXCrystObj owner, who should grab the incoming event. Useful, for example, to change the scattering power associated to an atom.


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