6#ifndef _ZFI_ZFUIWindow_h_
7#define _ZFI_ZFUIWindow_h_
229 _ZFP_ZFUIWindowPrivate *d;
#define zfextend
dummy macro shows class inherit from another
Definition ZFCoreTypeDef_ClassType.h:53
#define zfoverride
dummy macro shows that method override parent's method
Definition ZFCoreTypeDef_ClassType.h:58
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define zfclassFwd
forward declaration of a class type
Definition ZFCoreTypeDef_ClassType.h:31
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zftrue
bool true type
Definition ZFCoreTypeDef_CoreType.h:107
#define ZFENUM_SEPARATOR()
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:158
#define ZFENUM_VALUE_REGISTER(Value)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:168
#define ZFENUM_REG(ZFLIB_, EnumName,...)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:186
#define ZFENUM_END_WITH_DEFAULT(ZFLIB_, EnumName, defaultEnum)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:175
#define ZFENUM_VALUE(Value)
see ZFENUM_BEGIN
Definition ZFEnumDeclare.h:151
#define ZFENUM_BEGIN(ZFLIB_, EnumName)
macros to define reflectable enum type
Definition ZFEnumDeclare.h:147
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_DECLARE_0(ReturnType, MethodName)
see ZFMethod
Definition ZFMethodDeclare.h:693
#define ZFMETHOD_DECLARE_STATIC_1(ReturnType, MethodName, ZFMP_0)
see ZFMethod
Definition ZFMethodDeclare.h:870
#define ZFMETHOD_DECLARE_1(ReturnType, MethodName, ZFMP_0)
see ZFMethod
Definition ZFMethodDeclare.h:854
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
#define zfclass
same as class, shows that this class is a ZFObject type
Definition ZFObjectClassTypeFwd.h:38
#define ZFOBJECT_ON_INIT_DECLARE_1(ZFMP_0)
see ZFOBJECT_ON_INIT_INLINE_1
Definition ZFObjectDeclare.h:263
#define ZFOBJECT_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
#define ZFEVENT(YourEvent)
see ZFObject::observerNotify
Definition ZFObjectObserver.h:328
#define ZFPROPERTY_ASSIGN(Type, Name,...)
see ZFPROPERTY_RETAIN
Definition ZFPropertyDeclare.h:128
#define ZFPROPERTY_ON_UPDATE_DECLARE(Type, Name)
see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDeclare.h:238
#define ZFSTYLE_DEFAULT_DECLARE(YourStyle)
used to declare a default style, see ZFStyleable
Definition ZFStyleable.h:262
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
v_ZFUIWindowLevel::ZFEnumType ZFUIWindowLevel
see v_ZFUIWindowLevel
Definition ZFUIWindow.h:47
void observerNotify(zfidentity eventId, ZFObject *param0=zft_zfnull, ZFObject *param1=zft_zfnull)
notify the observer with eventId
base class of all layout param in ZFUIView
Definition ZFUIViewType.h:123
virtual zfanyT< ZFUIView > parent()
parent view or null if none
virtual void windowOnShow(void)
see E_WindowOnShow
Definition ZFUIWindow.h:209
virtual void objectOnDealloc(void)
override this to destroy your object
virtual zfbool showing()
whether the window is showing
virtual zfbool & sysWindowMarginShouldApply()
whether this window update layout according to ZFUISysWindow::sysWindowMargin, true by default
Definition ZFUIWindow.h:149
virtual void show()
show the window, automatically retain the window
virtual void windowMoveToBottom()
move window to bottom of all same level window
virtual void viewOnRemoveFromParent(ZFUIView *parent)
see E_ViewOnRemoveFromParent
static zfidentity E_WindowOnShow(void)
see ZFObject::observerNotify
virtual void viewOnAddToParent(ZFUIView *parent)
see E_ViewOnAddToParent
virtual void ownerSysWindowOnUpdate(ZFUISysWindow *oldSysWindow)
see E_WindowOwnerSysWindowOnUpdate
Definition ZFUIWindow.h:170
static zfidentity E_WindowOwnerSysWindowOnRotate(void)
see ZFObject::observerNotify
static zfanyT< ZFUIWindow > windowForView(ZFUIView *forView)
util method to get window of a view, or null if not in a window
virtual zfanyT< ZFUILayoutParam > windowLayoutParam()
access window's layout param, automatically call ZFUIView::layoutRequest
virtual void windowOnHide(void)
see E_WindowOnHide
Definition ZFUIWindow.h:213
virtual void hide()
hide the window, automatically release the window
virtual ZFUIWindowLevel & windowLevel()
window's level
Definition ZFUIWindow.h:142
static zfanyT< ZFUISysWindow > sysWindowForView(ZFUIView *view)
util method to get owner sys window for the view, return null if not in view tree or failed to get
static zfidentity E_WindowOwnerSysWindowOnUpdate(void)
see ZFObject::observerNotify
virtual void ownerSysWindowOnRotate(void)
see E_WindowOwnerSysWindowOnRotate
Definition ZFUIWindow.h:218
virtual void objectOnInit(ZFUISysWindow *ownerSysWindow)
init with custom ownerSysWindow, null to use ZFUISysWindow::keyWindow
static zfidentity E_WindowOnHide(void)
see ZFObject::observerNotify
virtual void windowMoveToTop()
move window to top of all same level window
virtual void ownerSysWindow(ZFUISysWindow *ownerSysWindow)
change owner ZFUISysWindow, must be called before show is called
window level for ZFUIWindow, value is ensured from low to high
Definition ZFUIWindow.h:15
see zfany
Definition zfany.h:106