FUIFilterFormView
@MainActor
open class FUIFilterFormView : FUIFormCellContentView<FUIFilterValueView, FUIControlState, FUIMultiLineText>, FUITitleMultiLineComponent, FUIMandatoryFieldComponent, FUIPropertyFormCell
Undocumented
-
Reuse identifier
Declaration
Swift
@MainActor open class var reuseIdentifier: String { get } -
The key name label in the cell
Declaration
Swift
@MainActor public lazy var keyLabel: FUILabel { get set } -
The style of the cell. It can be configured as
.fixedfor same width, or.flexiblefor the dynamic width.Declaration
Swift
@MainActor public var buttonStyle: FUIFilterButtonSize { get set } -
The type of the value
Declaration
Swift
public typealias ValueType = [Int] -
Indicate whether the user can select an item or not. This is set to
trueby default.Declaration
Swift
@MainActor public var isEditable: Bool { get set } -
isEnabledandisEditableare in sync.Declaration
Swift
@MainActor override public var isEnabled: 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 }
-
The name of the title.
Declaration
Swift
@MainActor public var keyName: String? { get set }
-
Declaration
Swift
@MainActor public var validationView: FUIInlineValidationView! -
Declaration
Swift
@MainActor public var validationMessage: String? { get set } -
The
FUIFilterValueViewin this view.Declaration
Swift
@MainActor public var filterValueView: FUIFilterValueView { get } -
The value of the cell.
Declaration
Swift
@MainActor public var value: [Int] { get set } -
Implementation of change handler. Is invoked on changes to the
valueproperty.Declaration
Swift
@MainActor public var onChangeHandler: (([Int]) -> Void)? { get set } -
The array of the valid options.
Declaration
Swift
@objc @MainActor public var valueOptions: [String] { get set } -
Using an
FUIFilterGroupto initialize theallowsMultipleSelection,allowsEmptySelection,valueOptions, andvalueproperties. ThevalueOptionswill be thetitleproperties of theFUIFilterItemobjects in the group. Thevalueproperty will be set based on theisActiveproperty of the items.Note
TheisActiveproperty of the items will be updated according to the user actions. There is no need to update them in theonChangeHandler.Declaration
Swift
@MainActor public var filterGroup: FUIFilterGroup? { get set } -
Indicates whether the user can select multiple values. The default is
true.Declaration
Swift
@MainActor public var allowsMultipleSelection: Bool { get set } -
Indicates whether empty selection is allowed. The default is
true.Declaration
Swift
@MainActor public var allowsEmptySelection: Bool { get set } -
Indicates whether the control attempts to adjust segment widths based on their content widths. The default is
false.Declaration
Swift
@MainActor public var apportionsSegmentWidthsByContent: Bool { get set } -
The width of the segment in the control. The default is 73. Setting this property has no effect if
apportionsSegmentWidthsByContentistrue.Declaration
Swift
@MainActor public var segmentWidth: CGFloat { get set } -
The height of the segment in the control. If
segmentHeightisnil, use theAutoLayoutsystem height of the first segment as the unique height for all segments.Declaration
Swift
@MainActor public var segmentHeight: CGFloat? { get set } -
The collectionView containing items to be displayed.
Declaration
Swift
@MainActor public var collectionView: UICollectionView? { get } -
Sets the button attributes for the specified control state in order to customize the button style. If this is not set, the default Fiori style attributes will be used.
Declaration
Swift
@MainActor public func setButtonAttributes(_ buttonAttributes: FUISegmentedControlButtonAttributes, for state: FUIControlState)