FUIValueComponent
public protocol FUIValueComponent : FUIAttributesConsumer
Common protocol for Value properties.
-
The type of the value.
Declaration
Swift
associatedtype ValueType -
The value property.
Declaration
Swift
var value: ValueType { get set } -
Developer formatted
NSAttributedStringto display as the value.Declaration
Swift
var valueAttributedText: NSAttributedString! { get set } -
NUIStyleClassPath for
valueproperty.Declaration
Swift
var valueStyleClassPath: [FioriStyle] { get set } -
textForValueDefault implementationReturn text representation for the value.
Default Implementation
Declaration
Swift
var textForValue: ((ValueType) -> FUITextProtocol)? { get set }
-
valueStyleClassPathDefault implementationDefault Implementation
NUIStyleClassPath for
valuespropertyDeclaration
Swift
public var valueStyleClassPath: [FioriStyle] { get set }
-
valueAttributedTextDefault implementationDefault Implementation
Developer formatted
NSAttributedStringto display as the title.Declaration
Swift
public var valueAttributedText: NSAttributedString! { get set }