Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ObjCryst::WXFieldChoice Class Reference

Class to pick one choice... More...

Inheritance diagram for ObjCryst::WXFieldChoice:

Inheritance graph
[legend]
Collaboration diagram for ObjCryst::WXFieldChoice:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

virtual void CrystUpdate (const bool updateUI=false, const bool mutexlock=false)
 Does nothing.

virtual void UpdateUI (const bool mutexlock=false)
 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.


Constructor & Destructor Documentation

ObjCryst::WXFieldChoice::WXFieldChoice wxWindow *  parent,
const int  field_id,
const string &  name,
const int  hsize = 80
 

Constructor.


Member Function Documentation

virtual void ObjCryst::WXFieldChoice::CrystUpdate const bool  updateUI = false,
const bool  mutexlock = false
[virtual]
 

Does nothing.

Implements ObjCryst::WXCrystObjBasic.

void ObjCryst::WXFieldChoice::Revert  )  [virtual]
 

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

Implements ObjCryst::WXField.

void ObjCryst::WXFieldChoice::SetValue const string &   ) 
 

Used by the owner to change the name of the choice.

virtual void ObjCryst::WXFieldChoice::UpdateUI const bool  mutexlock = false  )  [virtual]
 

Does nothing.

Implements ObjCryst::WXCrystObjBasic.

virtual void ObjCryst::WXFieldChoice::ValidateUserInput  )  [virtual]
 

Unnecessary here. Any change is immediately taken into account.

Implements ObjCryst::WXField.


Member Data Documentation

wxButton* ObjCryst::WXFieldChoice::mpButton [protected]
 

The button to be clicked to change the value.


The documentation for this class was generated from the following file:
Generated on Tue Nov 14 15:06:36 2006 for ObjCryst++ by doxygen 1.3.6