Library Mobile API Reference for iPhone  MicroStrategy 2019
TextLabelRender Class Reference

#import <TextLabelRender.h>

Inheritance diagram for TextLabelRender:
<WidgetItemRenderer>

Instance Methods

(id) - initWithFrame:withContent:withFormat:
 
(id) - initWithFrame:withContent:withFont:
 
(id) - formatWithFormatInfo:
 
(CGSize) - availSizeForText
 
(bool) - shouldUseTrimTip
 
(void) - handleTouchShowTrimTip
 
(void) - showTooltip
 
(void) - hideTooltip
 
- Instance Methods inherited from <WidgetItemRenderer>
(void) - setMDelegate:
 

Protected Attributes

UIView< ItemRendererDelegate > *__weak mDelegate
 
TextVerticalAlignment mTextVerticalAlignment
 
UIColor * mTextColor
 
BOOL mSelected
 
BOOL mUseWhiteTextColor
 
int mSelectionColor
 
int mLighterColor
 
int mDarkerColor
 
BOOL mUseTrimTip
 
CalloutTooltipViewermTrimTip
 
int mLeftPadding
 
int mRightPadding
 
NSString * mTextForSymbol
 
BOOL isNegtive
 
int mTooltipColor
 
int mTooltipCornerRadius
 
int mShadowRadius
 

Properties

UIView< ItemRendererDelegate > * mDelegate
 
TextVerticalAlignment textVerticalAlignment
 

Method Documentation

◆ availSizeForText()

- (CGSize) availSizeForText

we will minus the padding

◆ formatWithFormatInfo:()

- (id) formatWithFormatInfo: (void *)  ipFormatInfo

◆ handleTouchShowTrimTip()

- (void) handleTouchShowTrimTip

◆ hideTooltip()

- (void) hideTooltip

◆ initWithFrame:withContent:withFont:()

- (id) initWithFrame: (CGRect)  iFrame
withContent: (NSString *)  ipString
withFont: (void *)  ipFormat 

◆ initWithFrame:withContent:withFormat:()

- (id) initWithFrame: (CGRect)  iFrame
withContent: (NSString *)  ipString
withFormat: (void *)  ipFormat 

◆ shouldUseTrimTip()

- (bool) shouldUseTrimTip

◆ showTooltip()

- (void) showTooltip

Member Data Documentation

◆ isNegtive

- (BOOL) isNegtive
readwritenonatomicassignprotected

◆ mDarkerColor

- (int) mDarkerColor
protected

◆ mDelegate

- (UIView<ItemRendererDelegate>* __weak) mDelegate
protected

◆ mLeftPadding

- (int) mLeftPadding
protected

◆ mLighterColor

- (int) mLighterColor
protected

◆ mRightPadding

- (int) mRightPadding
protected

◆ mSelected

- (BOOL) mSelected
readwritenonatomicassignprotected

◆ mSelectionColor

- (int) mSelectionColor
readwritenonatomicassignprotected

◆ mShadowRadius

- (int) mShadowRadius
readwritenonatomicassignprotected

◆ mTextColor

- (UIColor*) mTextColor
protected

◆ mTextForSymbol

- (NSString*) mTextForSymbol
protected

◆ mTextVerticalAlignment

- (TextVerticalAlignment) mTextVerticalAlignment
protected

◆ mTooltipColor

- (int) mTooltipColor
readwritenonatomicassignprotected

◆ mTooltipCornerRadius

- (int) mTooltipCornerRadius
readwritenonatomicassignprotected

◆ mTrimTip

- (CalloutTooltipViewer*) mTrimTip
protected

◆ mUseTrimTip

- (BOOL) mUseTrimTip
readwritenonatomicassignprotected

◆ mUseWhiteTextColor

- (BOOL) mUseWhiteTextColor
readwritenonatomicassignprotected

Property Documentation

◆ mDelegate

- (UIView<ItemRendererDelegate>*) mDelegate
readwritenonatomicweak

◆ textVerticalAlignment

- (TextVerticalAlignment) textVerticalAlignment
readwritenonatomicassign