Enum LabelStackBreakPosition

  • All Implemented Interfaces:
    Serializable, Comparable<LabelStackBreakPosition>

    public enum LabelStackBreakPosition
    extends Enum<LabelStackBreakPosition>
    The strategy for whether a row of text should be broken before or after it exceeds the ideal length.

    If stacking is turned on, label placement can insert a line break before or after the word that overruns the maximum number of characters per row.

    Since:
    100.11.0
    • Method Detail

      • values

        public static LabelStackBreakPosition[] 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 (LabelStackBreakPosition c : LabelStackBreakPosition.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LabelStackBreakPosition 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