FUIDurationPickerContentView
@MainActor
open class FUIDurationPickerContentView : FUITintableDrawingView<FUIControlState>, FUITitleMultiLineComponent, FUIMandatoryFieldComponent, FUIValueComponent, FUIDurationPickerComponent
extension FUIDurationPickerContentView: UIPickerViewDelegate
extension FUIDurationPickerContentView: UIPickerViewDataSource
Undocumented
-
Declaration
Swift
@MainActor public var value: TimeInterval { get set } -
Declaration
Swift
@MainActor public var valueAttributedText: NSAttributedString! { get set } -
The key name of the cell.
Declaration
Swift
@MainActor public var keyName: String? { get set } -
Declaration
Swift
@MainActor public var title: FUIMultiLineText -
The
UIPickerViewfor this cell. ThisdurationPickerwill be displayed only when this cell is selected.Declaration
Swift
@MainActor public private(set) lazy var durationPicker: UIPickerView { get set } -
Set this property to customize the format of the duration text. If this property is not set, use the default text format. The default text format is
%d Hrs %d Min, where%dis the number of hours and minutes.Declaration
Swift
@MainActor public var durationTextFormat: String -
This property indicates whether the duration value of 0 is allowed or not. The default is
false, which means that the duration value cannot be 0.Declaration
Swift
@MainActor public var allowsZeroDuration: Bool { get set } -
minuteIntervalmust be evenly divisible by 60. The default is 5. The minimum is 1 and the maximum is 30.Declaration
Swift
@MainActor public var minuteInterval: Int { get set } -
Implementation of the change handler. This is invoked on changes to the
valueproperty.Declaration
Swift
@MainActor public var onChangeHandler: ((Double) -> Void)? -
If
isTrackingLiveChangesis true, thenonChangeHandlerwill be invoked whenever a duration is selected. Otherwise,onChangeHandlerwill be invoked only when the Duration Picker is closed. The default value istrue.Declaration
Swift
@MainActor public 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 } -
Declaration
Swift
@MainActor public override func refreshAttributedStrings() -
Undocumented
Declaration
Swift
@MainActor public override func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize -
Declaration
Swift
@MainActor public override func calculateLayout(_ targetSize: CGSize)
-
Undocumented
Declaration
Swift
@MainActor public func pickerView(_ pickerView: UIPickerView, viewForRow row: Int, forComponent component: Int, reusing view: UIView?) -> UIView -
Undocumented
Declaration
Swift
@MainActor public func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int)
-
Undocumented
Declaration
Swift
@MainActor public func numberOfComponents(in pickerView: UIPickerView) -> Int -
Undocumented
Declaration
Swift
@MainActor public func pickerView(_ pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int
-
Undocumented
Declaration
Swift
@MainActor public override var accessibilityElements: [Any]? { get set }