FOX/ObjCryst++  1.10.X (development)
ObjCryst::WXRegistry< T > Class Template Reference

This displays all components of a ObjCryst++ Registry. More...

+ Inheritance diagram for ObjCryst::WXRegistry< T >:
+ Collaboration diagram for ObjCryst::WXRegistry< T >:

Public Member Functions

 WXRegistry (wxWindow *parent, ObjRegistry< T > *reg)
void Add (WXCrystObjBasic *obj)
void Remove (WXCrystObjBasic *obj)
virtual bool OnChangeName (const int id)
 When a WXFieldName has been changed by the user, it is handled here. More...
- Public Member Functions inherited from ObjCryst::WXCrystObj
 WXCrystObj (wxWindow *parent, int orient=wxHORIZONTAL, bool showName=true)
 Constructor, with a.
void OnToggleCollapse (wxCommandEvent &WXUNUSED(event))
 Only display the title, and collapse everything else. More...
virtual void CrystUpdate (const bool updateUI=false, const bool mutexlock=false)
 Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. More...
virtual void UpdateUI (const bool mutexlock=false)
 Update the User Interface, if necessary. More...
virtual void OnEnable (wxUpdateUIEvent &event)
virtual bool Enable (bool enable)
virtual void AddChild (WXCrystObjBasic *pChild, bool doBottomLayout=true)
 Notify that a new children has been added, also adding it to the correct sizer (which can be the top sizer or not). More...
- Public Member Functions inherited from ObjCryst::WXCrystObjBasic
 WXCrystObjBasic (wxWindow *parent)
virtual ~WXCrystObjBasic ()
 wxDEPRECATED (virtual void BottomLayout(WXCrystObjBasic *pChild))
 Redo the Layout for the object and ask parent to take it into account. More...
void AddedToList (WXCrystObjBasicList *list)
void RemovedFromList (WXCrystObjBasicList *list)
virtual bool Layout ()
virtual void SetToolTip (const wxString &tip)
 Set tooltip for this window. More...

Private Attributes

ObjRegistry< T > * mpRegistry

Additional Inherited Members

- Protected Attributes inherited from ObjCryst::WXCrystObj
wxBoxSizer * mpTopSizer
 Top sizer including the title and WXCrystObj::mpSizer.
wxBoxSizer * mpSizer
 Sizer including all sub-objects.
 The title.
bool mIsExpanded
 To be used for collapsing the sub-objects.
WXCrystObjBasicList mList
 All windows but the title and collapse button are in this list.
wxButton * mpCollapseButton
 The collapse button.
- Protected Attributes inherited from ObjCryst::WXCrystObjBasic
 Parent, if a WXCrystObjBasic itself.
bool mIsShown
 Is the the window currently shown ?
bool mNeedUpdateUI
 Do we need to update the display ?
CrystMutex mMutex
 Mutex used to lock data when preparing to update the UI in non-main thread.
std::set< WXCrystObjBasicList * > mvpList
 WXCrystObjBasicList which are aware of this object, and which should be told on destruction. More...

Detailed Description

template<class T>
class ObjCryst::WXRegistry< T >

This displays all components of a ObjCryst++ Registry.

Definition at line 31 of file wxRefinableObj.h.

Member Function Documentation

template<class T >
bool ObjCryst::WXRegistry< T >::OnChangeName ( const int  id)

When a WXFieldName has been changed by the user, it is handled here.

This returns true if the value has been handled (for inheritance purposes).

Implements ObjCryst::WXCrystObj.

Definition at line 403 of file wxRefinableObj.cpp.

The documentation for this class was generated from the following files: