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.alwaysTemplate
rendering mode is used.Declaration
Swift
var trendImage: UIImage? { get set }
-
Developer formatted
NSAttributedString
to display as the trend. Will overridetrend
andtrendImage
values, and default styling.Declaration
Swift
var trendAttributedText: NSAttributedString! { get set }
-
SemanticColor defined for the trend. Will be applied to
trend
andtrendImage
content.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
trend
propertyDeclaration
Swift
var trendStyleClassPath: [FioriStyle] { get set }
-
NUIStyleClassPath for
trendImage
propertyDeclaration
Swift
var trendImageStyleClassPath: [FioriStyle] { get set }
-
trendStyleClassPath
Default implementationDefault Implementation
NUIStyleClassPath for
trend
propertyDeclaration
Swift
public var trendStyleClassPath: [FioriStyle] { get set }
-
trendImageStyleClassPath
Default implementationDefault Implementation
NUIStyleClassPath for
trendImage
propertyDeclaration
Swift
public var trendImageStyleClassPath: [FioriStyle] { get set }
-
trendAttributedText
Default implementationDefault Implementation
Developer formatted
NSAttributedString
to display as the trendDeclaration
Swift
public var trendAttributedText: NSAttributedString! { get set }