Enum Class ActionRef.Emphasis

java.lang.Object
java.lang.Enum<ActionRef.Emphasis>
org.apache.juneau.console.widgets.ActionRef.Emphasis
All Implemented Interfaces:
Serializable, Comparable<ActionRef.Emphasis>, Constable
Enclosing class:
ActionRef

public static enum ActionRef.Emphasis extends Enum<ActionRef.Emphasis>
The visual weight an ActionRef button is painted with.
  • Enum Constant Details

    • PRIMARY

      public static final ActionRef.Emphasis PRIMARY
      The bar's single most prominent action — solid accent fill. At most one per bar.
    • SECONDARY

      public static final ActionRef.Emphasis SECONDARY
      The default weight — neutral fill, accent-coloured label.
  • Method Details

    • values

      public static ActionRef.Emphasis[] 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 ActionRef.Emphasis 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