6#ifndef _ZFI_ZFProtocolZFUIViewFocus_h_
7#define _ZFI_ZFProtocolZFUIViewFocus_h_
45 children = view->internalFgViewArray();
52 children = view->internalBgViewArray();
59 children = view->internalImplViewArray();
83 view->_ZFP_ZFUIView_focusOnUpdate();
93 impl->notifyViewFocusUpdate(view);
#define zffinal
dummy macro shows that a method or class is designed must not to be overrided
Definition ZFCoreTypeDef_ClassType.h:63
#define zfpurevirtual
dummy macro shows that a method is pure virtual method
Definition ZFCoreTypeDef_ClassType.h:68
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
protocol definitions for ZFFramework
#define ZFPROTOCOL_TRY_ACCESS(ModuleName)
access the protocol implementation
Definition ZFProtocol.h:461
#define ZFPROTOCOL_INTERFACE_OPTIONAL
macro to show that the protocol is optional
Definition ZFProtocol.h:420
#define ZFPROTOCOL_INTERFACE_END(ModuleName)
for more information, please refer to ZFPROTOCOL_INTERFACE_BEGIN
Definition ZFProtocol.h:414
#define ZFPROTOCOL_INTERFACE_CLASS(ModuleName)
access the class name of ZFProtocol for ModuleName
Definition ZFProtocol.h:210
#define ZFPROTOCOL_INTERFACE_BEGIN(ZFLIB_, ModuleName)
declare a protocol interface for ZFFramework
Definition ZFProtocol.h:408
void ZFProtocolZFUIViewFocus_notifyViewFocusUpdate(ZFUIView *view)
convenient method to call notifyViewFocusUpdate of optional protocol ZFUIViewFocus
Definition ZFProtocolZFUIViewFocus.h:90
#define ZFLIB_ZFUIKit
used to export symbols
Definition ZFUIKitDef.h:16
base class of all UI views
light weight array
Definition ZFCoreArray.h:331
virtual zfindex count(void) const
element count of this array
Definition ZFCoreArray.h:920
void notifyViewFocusUpdate(ZFUIView *view)
implementations must notify when view's focus state changed (both obtain or resign)
Definition ZFProtocolZFUIViewFocus.h:82
virtual zfbool focused(ZFUIView *view)=0
see ZFUIView::focused
virtual void focusRequest(ZFUIView *view, zfbool focus)=0
see ZFUIView::focusRequest
virtual void focusable(ZFUIView *view, zfbool focusable)=0
change view's focusable setting
virtual ZFUIView * focusFind(ZFUIView *view)
see ZFUIView::focusFind
Definition ZFProtocolZFUIViewFocus.h:33
base class of all UI views
Definition ZFUIView.h:93