FUIValuePickerContentView
@MainActor
open class FUIValuePickerContentView : FUITintableDrawingView<FUIControlState>, FUITitleMultiLineComponent, FUIMandatoryFieldComponent, FUIValueComponent, FUIValuePickerComponent
extension FUIValuePickerContentView: UIPickerViewDelegate, UIPickerViewDataSource
The basic inner view for FUIValuePickerCollectionViewCell.
-
Title text for Value Picker content view.
Declaration
Swift
@MainActor public private(set) var title: FUIMultiLineText { get set } -
The array of the valid options.
Declaration
Swift
@MainActor public var valueOptions: [String] { get set } -
The value of the picker. The default is 0.
Declaration
Swift
@MainActor public var value: Int { get set } -
Implementation of the change handler. This is invoked on changes to the
valueproperty.Declaration
Swift
@MainActor public var onChangeHandler: ((Int) -> Void)? -
If
isTrackingLiveChangesis true, thenonChangeHandlerwill be invoked whenever a date is selected.Otherwise,
onChangeHandlerwill be invoked only when the Date Picker is closed.The default value is
true.Declaration
Swift
@MainActor open var isTrackingLiveChanges: Bool -
Indicates whether the value of the cell may be modified.
The default value is
true.Declaration
Swift
@MainActor public var isEditable: Bool { get set } -
Indicates whether the cell is a mandatory field.
The default value is
false.Declaration
Swift
@MainActor open var isRequired: Bool { get set } -
Indicates that the cell is a mandatory field.
The default value is
*.Declaration
Swift
@MainActor public var mandatoryIndicator: FUIText { get set } -
This property indicates whether the picker is to always be displayed.
The default value is
false.Declaration
Swift
@MainActor open var alwaysShowPicker: Bool { get set } -
The
UIPickerViewfor this view. It will be displayed only when this view state is selected.Declaration
Swift
@objc @MainActor public private(set) lazy var valuePicker: UIPickerView { get set } -
Undocumented
Declaration
Swift
@MainActor open override func accessibilityElementDidLoseFocus()