ObjCryst++  1.5CVS
Public Member Functions | Private Attributes
ObjCryst::WXRegistry< T > Class Template Reference

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

Inheritance diagram for ObjCryst::WXRegistry< T >:
ObjCryst::WXCrystObj ObjCryst::WXCrystObjBasic

List of all members.

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.
- 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.
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.
virtual void UpdateUI (const bool mutexlock=false)
 Update the User Interface, if necessary.
virtual void OnEnable (wxUpdateUIEvent &event)
virtual bool Enable (bool enable)
virtual void BottomLayout (WXCrystObjBasic *pChild)
 Ask for a new Layout with recalculated size hints, because a child has been changed or added.
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).
- Public Member Functions inherited from ObjCryst::WXCrystObjBasic
 WXCrystObjBasic (wxWindow *parent)
 Constructor.
virtual ~WXCrystObjBasic ()
 Destructor.
void AddedToList (WXCrystObjBasicList *list)
void RemovedFromList (WXCrystObjBasicList *list)
virtual bool Layout ()
virtual void SetToolTip (const wxString &tip)
 Set tooltip for this window.

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.
WXFieldNamempWXTitle
 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
WXCrystObjBasicmWXCrystParent
 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.

Detailed Description

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

This displays all components of a ObjCryst++ Registry.


Member Function Documentation

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

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.


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