Inheritance diagram for ObjCryst::WXCrystObjBasic:
Public Member Functions | |
WXCrystObjBasic (wxWindow *parent) | |
Constructor. | |
virtual | ~WXCrystObjBasic () |
Destructor. | |
virtual void | CrystUpdate (const bool updateUI=false, const bool mutexlock=false)=0 |
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)=0 |
Update the User Interface, if necessary. | |
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). | |
void | AddedToList (WXCrystObjBasicList *list) |
Tell the object it has been added to a list. | |
void | RemovedFromList (WXCrystObjBasicList *list) |
Tell the object it has been removed from a list. | |
virtual bool | Layout () |
Protected Attributes | |
WXCrystObjBasic * | mWXCrystParent |
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. |
|
Constructor.
|
|
Destructor.
|
|
Notify that a new children has been added, also adding it to the correct sizer (which can be the top sizer or not).
Reimplemented in ObjCryst::WXCrystObj. |
|
Tell the object it has been added to a list.
|
|
Ask for a new Layout with recalculated size hints, because a child has been changed or added.
Reimplemented in ObjCryst::WXCrystObj. |
|
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.
Implemented in ObjCryst::WXCrystObj, ObjCryst::WXFieldString, ObjCryst::WXFieldName, ObjCryst::WXFieldParBase, ObjCryst::WXFieldPar< T >, ObjCryst::WXFieldChoice, ObjCryst::WXCrystMenuBar, ObjCryst::WXCrystal, ObjCryst::WXDiffractionSingleCrystal, ObjCryst::WXOptimizationObj, ObjCryst::WXMolAtom, ObjCryst::WXMolBond, ObjCryst::WXMolBondAngle, ObjCryst::WXMolDihedralAngle, ObjCryst::WXMolecule, ObjCryst::WXPowderPattern, ObjCryst::WXPowderPatternBackground, ObjCryst::WXTexturePhaseMarchDollase, ObjCryst::WXRadiation, ObjCryst::WXFieldRefPar, ObjCryst::WXFieldOption, ObjCryst::WXRefinableObj, ObjCryst::WXZAtom, and ObjCryst::WXFieldPar< long >. |
|
|
|
Tell the object it has been removed from a list.
|
|
|
Is the the window currently shown ?
|
|
Mutex used to lock data when preparing to update the UI in non-main thread.
|
|
Do we need to update the display ?
Reimplemented in ObjCryst::WXPowderPatternBackground. |
|
WXCrystObjBasicList which are aware of this object, and which should be told on destruction.
|
|
Parent, if a WXCrystObjBasic itself.
|