ZFFramework
 
Loading...
Searching...
No Matches
ZFUITextEditWidget.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFUITextEditWidget_h_
7#define _ZFI_ZFUITextEditWidget_h_
8
9#include "ZFUIButtonBasic.h"
10
12
13// ============================================================
14// ZFUITextEditWidget
65
67#endif // #ifndef _ZFI_ZFUITextEditWidget_h_
68
#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 ZF_IN_OUT
dummy macro that shows the param used as required input and output
Definition ZFCoreTypeDef_ClassType.h:196
_ZFT_t_zfbool zfbool
bool type
Definition ZFCoreTypeDef_CoreType.h:103
#define zffalse
bool false type
Definition ZFCoreTypeDef_CoreType.h:111
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#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_DECLARE(ChildClass, SuperClass,...)
necessary for every class inherit from ZFObject
Definition ZFObjectDeclare.h:126
#define ZFPROPERTY_ASSIGN(Type, Name,...)
see ZFPROPERTY_RETAIN
Definition ZFPropertyDeclare.h:128
#define ZFPropertyNoInitValue
see ZFPROPERTY_RETAIN
Definition ZFPropertyDeclare.h:32
#define ZFPROPERTY_ON_INIT_DECLARE(Type, Name)
override life cycle callback for the property
Definition ZFPropertyDeclare.h:208
#define ZFPROPERTY_RETAIN_READONLY(Type, Name, InitValueOrEmpty)
see ZFPROPERTY_RETAIN
Definition ZFPropertyDeclare.h:110
#define ZFPROPERTY_ON_ATTACH_DECLARE(Type, Name)
see ZFPROPERTY_ON_INIT_DECLARE
Definition ZFPropertyDeclare.h:248
#define ZFSTYLE_DEFAULT_DECLARE(YourStyle)
used to declare a default style, see ZFStyleable
Definition ZFStyleable.h:262
basic button
#define ZFLIB_ZFUIWidget
used to export symbols
Definition ZFUIWidgetDef.h:17
basic button, see ZFUIButton
Definition ZFUIButtonBasic.h:33
native image view
Definition ZFUIImageView.h:18
margin
Definition ZFUITypeDef.h:147
2D rectangle
Definition ZFUITypeDef.h:636
virtual void textOnUpdate(const zfstring &oldText)
see E_TextOnUpdate
virtual void layoutOnLayoutPrepare(const ZFUIRect &bounds)
see E_ViewLayoutOnLayoutPrepare
virtual zfanyT< ZFUIButtonBasic > const & clearButton()
the clear button
Definition ZFUITextEditWidget.h:38
virtual void nativeImplViewMarginImplUpdate(ZFUIMargin &nativeImplViewMargin)
see nativeImplViewMargin, subclass must call super and "append" to existing margin
virtual void internalViewOnLayout(const ZFUIRect &bounds)
see internalBgViewAdd
virtual zfbool internalViewShouldLayout(ZFUIView *internalView)
called to check whether the internal view should be layouted using default layout logic,...
virtual zfbool & clearButtonAutoEnable()
whether automatically show or hide clear button, false by default
Definition ZFUITextEditWidget.h:44
virtual zfanyT< ZFUIImageView > const & bgView()
the background view
Definition ZFUITextEditWidget.h:30
virtual void objectOnInit(void)
override this to init your object
virtual void objectOnDealloc(void)
override this to destroy your object
virtual const ZFUIMargin & nativeImplViewMargin()
inner margin between ZFUIView and the internal nativeImplView
see zfany
Definition zfany.h:106