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

ObjCryst::WXFieldOption Class Reference

WX representation of a RefObj option. This displays the names of the different choices. More...

#include <wxRefinableObj.h>

Inheritance diagram for ObjCryst::WXFieldOption::

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

Public Methods

 WXFieldOption (wxWindow *parent, const int field_id, RefObjOpt *option)
virtual ~WXFieldOption ()
void OnUpdateUI (wxUpdateUIEvent &WXUNUSED(event))
void OnChoice (wxCommandEvent &WXUNUSED(event))
 When a new value is entered. The Field reads the new value, then forwards the event to its owner, who will take care of anything that must be done.

virtual void CrystUpdate ()
 Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. The actual GUI update is not made here. UpdateUI() should be called separately, from the main thread.

virtual void UpdateUI ()
 Update the User Interface, if necessary.

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

virtual void ValidateUserInput ()
 Does nothing. Any user input is directly validated (OnChoice).


Protected Attributes

int mChoice
int mChoiceOld
RefObjOptmpOption
wxChoice * mpList

Detailed Description

WX representation of a RefObj option. This displays the names of the different choices.


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