ZFFramework
 
Loading...
Searching...
No Matches
ZFUIText Class Reference

base UI text interface More...

#include <ZFUIText.h>

Inheritance diagram for ZFUIText:
ZFInterface ZFUITextConfig ZFUITextEdit ZFUITextView ZFUITextEditWidget

Public Member Functions

virtual zfstringtext ()
 text, may be null if not set
 
virtual void text (zfstring const &propertyValue)
 see text
 
virtual ZFUITextAppearancetextAppearance ()
 text appearance, ZFUIGlobalStyle::textAppearance by default
 
virtual void textAppearance (ZFUITextAppearance const &propertyValue)
 see textAppearance
 
virtual ZFUIAlignFlagstextAlign ()
 text alignment, ZFUIGlobalStyle::textAlign by default
 
virtual void textAlign (ZFUIAlignFlags const &propertyValue)
 see textAlign
 
virtual ZFUIColortextColor ()
 text color, ZFUIGlobalStyle::textColorDefault by default
 
virtual void textColor (ZFUIColor const &propertyValue)
 see textColor
 
virtual zffloattextSize ()
 text size, ZFUIGlobalStyle::textSizeNormal by default
 
virtual void textSize (zffloat const &propertyValue)
 see textSize
 
- Public Member Functions inherited from ZFInterface
virtual const ZFClassclassData (void)=0
 get instance's class info
 
virtual ZFObjecttoObject (void)=0
 convert to ZFObject type
 

Static Public Member Functions

static const ZFClassClassData (void)
 get class info
 
- Static Public Member Functions inherited from ZFInterface
static const ZFClassClassData (void)
 get class info
 

Protected Types

typedef ZFInterface zfsuper
 typedef for super (always ZFInterface for an interface type)
 
typedef ZFUIText zfself
 typedef for self
 
- Protected Types inherited from ZFInterface
typedef _ZFP_ObjI_Base zfsuper
 typedef for super (always ZFInterface for an interface type)
 
typedef ZFInterface zfself
 typedef for self
 

Detailed Description

base UI text interface

Member Function Documentation

◆ textAppearance()

virtual ZFUITextAppearance & ZFUIText::textAppearance ( )
inlinevirtual

text appearance, ZFUIGlobalStyle::textAppearance by default

note, for some implementations and font settings, italic or bold may or may not be supported

◆ textAlign()

virtual ZFUIAlignFlags & ZFUIText::textAlign ( )
inlinevirtual

text alignment, ZFUIGlobalStyle::textAlign by default

Note
only LeftInner, Center, RightInner would be supported for sure

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