FUITrendComponent
public protocol FUITrendComponent : FUIAttributesConsumer
Component protocol for Trend properties
-
Text to describe the trend
Declaration
Swift
var trend: FUIText { get } -
Image for the trend. To apply
trendSemanticColor, ensure.alwaysTemplaterendering mode is used.Declaration
Swift
var trendImage: UIImage? { get set } -
Developer formatted
NSAttributedStringto display as the trend. Will overridetrendandtrendImagevalues, and default styling.Declaration
Swift
var trendAttributedText: NSAttributedString! { get set } -
SemanticColor defined for the trend. Will be applied to
trendandtrendImagecontent.Declaration
Swift
var trendSemanticColor: UIColor? { get set } -
Size for trend image.
Set size to nil if the intrinsic image size should be used. Default value is 16 * 16.
Declaration
Swift
var trendImageSize: CGSize? { get set } -
NUIStyleClassPath for
trendpropertyDeclaration
Swift
var trendStyleClassPath: [FioriStyle] { get set } -
NUIStyleClassPath for
trendImagepropertyDeclaration
Swift
var trendImageStyleClassPath: [FioriStyle] { get set }
-
trendStyleClassPathDefault implementationDefault Implementation
NUIStyleClassPath for
trendpropertyDeclaration
Swift
public var trendStyleClassPath: [FioriStyle] { get set } -
trendImageStyleClassPathDefault implementationDefault Implementation
NUIStyleClassPath for
trendImagepropertyDeclaration
Swift
public var trendImageStyleClassPath: [FioriStyle] { get set }
-
trendAttributedTextDefault implementationDefault Implementation
Developer formatted
NSAttributedStringto display as the trendDeclaration
Swift
public var trendAttributedText: NSAttributedString! { get set }