Enum TextAdjustEnum

    • Enum Constant Detail

      • CUT_TEXT

        public static final TextAdjustEnum CUT_TEXT
        A constant value specifying that if the text content of the element does not fit the element size, it is cut and only partially displayed.
      • STRETCH_HEIGHT

        public static final TextAdjustEnum STRETCH_HEIGHT
        A constant value specifying that if the text content of the element does not fit the element size, the height of the element is increased so that the entire content fits the element, unless a page/column breaks occurs.
      • SCALE_FONT

        public static final TextAdjustEnum SCALE_FONT
        A constant value specifying that if the text content of the element does not fit the element size, the font size of the content is decreased so that it fits the element entirely.
    • Method Detail

      • values

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

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