FUIControlState

public enum FUIControlState : Int, _ControlStateStringConvertible
extension FUIControlState: Defaultable, Enableable

A enum describing the state of an user-interactive fiori component.

  • should typically be empty, defaulting to standard style

    Declaration

    Swift

    case normal
  • component which is user-interactive

    Declaration

    Swift

    case enabled
  • control is in highlighted state

    Declaration

    Swift

    case highlighted
  • control is in selected state

    Declaration

    Swift

    case selected
  • component is in a ‘sub-normal’ state, in a scenario where other instances of the same text is normal

    Declaration

    Swift

    case disabled
  • control is enabled and selected

    Declaration

    Swift

    case enabledSelected
  • control is enabled and unselected

    Declaration

    Swift

    case enabledUnselected
  • control is disabled and selected

    Declaration

    Swift

    case disabledSelected
  • control is disabled and unselected

    Declaration

    Swift

    case disabledUnselected
  • component is read-only.

    Declaration

    Swift

    case readOnly
  • The default state is normal.

    Declaration

    Swift

    public static let `default`: FUIControlState
  • The default enabled state is enabled.

    Declaration

    Swift

    public static let defaultEnabled: FUIControlState