Class TextStyleKeys


  • public class TextStyleKeys
    extends Object
    • Field Detail

      • WHITE_SPACE_COLLAPSE

        public static final StyleKey WHITE_SPACE_COLLAPSE
        This property declares whether and how white space inside the element is collapsed. Values have the following meanings, which must be interpreted according to the white space processing rules:

        • collapse
        • This value directs user agents to collapse sequences of white space into a single character (or in some cases, no character).

        • preserve
        • This value prevents user agents from collapsing sequences of white space. Line breaks are preserved.

        • preserve-breaks
        • This value collapses white space as for 'collapse', but preserves line breaks.

        • discard
        • This value directs user agents to "discard" all white space in the element.

      • TEXT_WRAP

        public static final StyleKey TEXT_WRAP
        'none' or 'wrap'
      • X_MIN_LETTER_SPACING

        public static final StyleKey X_MIN_LETTER_SPACING
      • X_OPTIMUM_LETTER_SPACING

        public static final StyleKey X_OPTIMUM_LETTER_SPACING
      • X_MAX_LETTER_SPACING

        public static final StyleKey X_MAX_LETTER_SPACING
      • WORD_SPACING

        public static final StyleKey WORD_SPACING
      • FONT_SMOOTH

        public static final StyleKey FONT_SMOOTH
      • VERTICAL_TEXT_ALIGNMENT

        public static final StyleKey VERTICAL_TEXT_ALIGNMENT
      • WORDBREAK

        public static final StyleKey WORDBREAK
      • FONT

        public static final StyleKey FONT
        A key for the 'font family' used to draw element text.
      • FONTSIZE

        public static final StyleKey FONTSIZE
        A key for the 'font size' used to draw element text.
      • LINEHEIGHT

        public static final StyleKey LINEHEIGHT
        A key for the 'font size' used to draw element text.
      • BOLD

        public static final StyleKey BOLD
        A key for an element's 'bold' flag.
      • ITALIC

        public static final StyleKey ITALIC
        A key for an element's 'italic' flag.
      • UNDERLINED

        public static final StyleKey UNDERLINED
        A key for an element's 'underlined' flag.
      • STRIKETHROUGH

        public static final StyleKey STRIKETHROUGH
        A key for an element's 'strikethrough' flag.
      • EMBEDDED_FONT

        public static final StyleKey EMBEDDED_FONT
        A key for an element's 'embedd' flag.
      • FONTENCODING

        public static final StyleKey FONTENCODING
        A key for an element's 'embedd' flag.
      • RESERVED_LITERAL

        public static final StyleKey RESERVED_LITERAL
        The string that is used to end a text if not all text fits into the element. In typography, this string is better known as ellipsis.
      • TRIM_TEXT_CONTENT

        public static final StyleKey TRIM_TEXT_CONTENT
        The Layout Cacheable stylekey. Set this stylekey to false, to define that the element is not cachable. This key defaults to true.
      • TEXT_INDENT

        public static final StyleKey TEXT_INDENT
      • FIRST_LINE_INDENT

        public static final StyleKey FIRST_LINE_INDENT
      • DIRECTION

        public static final StyleKey DIRECTION
      • TEXT_ROTATION

        public static final StyleKey TEXT_ROTATION