Enum RadianceThemingSlices.ButtonOrder

java.lang.Object
java.lang.Enum<RadianceThemingSlices.ButtonOrder>
org.pushingpixels.radiance.theming.api.RadianceThemingSlices.ButtonOrder
All Implemented Interfaces:
Serializable, Comparable<RadianceThemingSlices.ButtonOrder>, java.lang.constant.Constable
Enclosing class:
RadianceThemingSlices

public static enum RadianceThemingSlices.ButtonOrder extends Enum<RadianceThemingSlices.ButtonOrder>
Button order for grouped buttons.
  • Enum Constant Details

    • PLATFORM

      public static final RadianceThemingSlices.ButtonOrder PLATFORM
      Platform-specific order. On macOS the default button will be the placed the closest to the trailing edge of the button group (rightmost under LTR and leftmost under RTL). On other platforms the default button will be placed closest to the leading edge of the button group (leftmost under LTR and rightmost under RTL).
    • DEFAULT_AS_LEADING

      public static final RadianceThemingSlices.ButtonOrder DEFAULT_AS_LEADING
      The default button will be placed closest to the leading edge of the button group (leftmost under LTR and rightmost under RTL).
    • DEFAULT_AS_TRAILING

      public static final RadianceThemingSlices.ButtonOrder DEFAULT_AS_TRAILING
      The default button will be placed closest to the trailing edge of the button group (rightmost under LTR and leftmost under RTL).
    • SWING_DEFAULT

      public static final RadianceThemingSlices.ButtonOrder SWING_DEFAULT
      The default button will be placed as it is under default Swing behavior.
  • Constructor Details

    • ButtonOrder

      private ButtonOrder()
  • Method Details

    • values

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

      public static RadianceThemingSlices.ButtonOrder valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isDefaultButtonLeading

      public abstract boolean isDefaultButtonLeading()