Enum RadianceThemingSlices.ButtonOrder

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      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
      The default button will be placed closest to the trailing edge of the button group (rightmost under LTR and leftmost under RTL).
      PLATFORM
      Platform-specific order.
      SWING_DEFAULT
      The default button will be placed as it is under default Swing behavior.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ButtonOrder()  
    • Enum Constant Detail

      • 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).
    • Constructor Detail

      • ButtonOrder

        private ButtonOrder()
    • Method Detail

      • values

        public static RadianceThemingSlices.ButtonOrder[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RadianceThemingSlices.ButtonOrder c : RadianceThemingSlices.ButtonOrder.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RadianceThemingSlices.ButtonOrder valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isDefaultButtonLeading

        public abstract boolean isDefaultButtonLeading()