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
NSAttributedString
to display as the value.Declaration
Swift
var valueAttributedText: NSAttributedString! { get set }
-
NUIStyleClassPath for
value
property.Declaration
Swift
var valueStyleClassPath: [FioriStyle] { get set }
-
textForValue
Default implementationReturn text representation for the value.
Default Implementation
Declaration
Swift
var textForValue: ((ValueType) -> FUITextProtocol)? { get set }
-
valueStyleClassPath
Default implementationDefault Implementation
NUIStyleClassPath for
values
propertyDeclaration
Swift
public var valueStyleClassPath: [FioriStyle] { get set }
-
valueAttributedText
Default implementationDefault Implementation
Developer formatted
NSAttributedString
to display as the title.Declaration
Swift
public var valueAttributedText: NSAttributedString! { get set }