FUIFilterFormView

Undocumented

  • Reuse identifier

    Declaration

    Swift

    open class var reuseIdentifier: String { get }
  • The key name label in the cell

    Declaration

    Swift

    public lazy var keyLabel: FUILabel { get set }
  • The style of the cell. It can be configured as .fixed for same width, or .flexible for the dynamic width.

    Declaration

    Swift

    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 true by default.

    Declaration

    Swift

    public var isEditable: Bool { get set }
  • isEnabled and isEditable are in sync.

    Declaration

    Swift

    override public var isEnabled: Bool { get set }
  • The name of the title.

    Declaration

    Swift

    public var keyName: String? { get set }
  • Declaration

    Swift

    public var validationView: FUIInlineValidationView!
  • Declaration

    Swift

    public var validationMessage: String? { get set }
  • The FUIFilterValueView in this view.

    Declaration

    Swift

    public var filterValueView: FUIFilterValueView { get }
  • The value of the cell.

    Declaration

    Swift

    public var value: [Int] { get set }
  • Implementation of change handler. Is invoked on changes to the value property.

    Declaration

    Swift

    public var onChangeHandler: (([Int]) -> Void)? { get set }
  • The array of the valid options.

    Note

    Setting this property will be ignored when property filterGroup is not nil.

    Declaration

    Swift

    @objc
    public var valueOptions: [String] { get set }
  • Using an FUIFilterGroup to initialize the allowsMultipleSelection, allowsEmptySelection, valueOptions, and value properties. The valueOptions will be the title properties of the FUIFilterItem objects in the group. The value property will be set based on the isActive property of the items.

    Note

    The isActive property of the items will be updated according to the user actions. There is no need to update them in the onChangeHandler.

    Declaration

    Swift

    public var filterGroup: FUIFilterGroup? { get set }
  • Indicates whether the user can select multiple values. The default is true.

    Note

    Setting this property will be ignored when property filterGroup is not nil.

    Declaration

    Swift

    public var allowsMultipleSelection: Bool { get set }
  • Indicates whether empty selection is allowed. The default is true.

    Note

    Setting this property will be ignored when property filterGroup is not nil.

    Declaration

    Swift

    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

    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 apportionsSegmentWidthsByContent is true.

    Declaration

    Swift

    public var segmentWidth: CGFloat { get set }
  • The height of the segment in the control. If segmentHeight is nil, use the AutoLayout system height of the first segment as the unique height for all segments.

    Declaration

    Swift

    public var segmentHeight: CGFloat? { get set }
  • The collectionView containing items to be displayed.

    Declaration

    Swift

    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

    public func setButtonAttributes(_ buttonAttributes: FUISegmentedControlButtonAttributes, for state: FUIControlState)