Package com.onec.ui

Enum Class ActionScope

java.lang.Object
java.lang.Enum<ActionScope>
com.onec.ui.ActionScope
All Implemented Interfaces:
Serializable, Comparable<ActionScope>, Constable

public enum ActionScope extends Enum<ActionScope>
Where a custom action button appears.
  • Enum Constant Details

    • TOOLBAR

      public static final ActionScope TOOLBAR
      A toolbar button on the list surface (operates on the whole list / no specific row).
    • ROW

      public static final ActionScope ROW
      A per-row button on the list surface (operates on that row's record).
    • DETAIL

      public static final ActionScope DETAIL
      A button in a record's detail header.
  • Method Details

    • values

      public static ActionScope[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ActionScope valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null