Class TextStyleKeys


  • public class TextStyleKeys
    extends Object
    http://www.w3.org/TR/css3-text/
    and
    http://www.w3.org/TR/2003/CR-css3-text-20030514/

    Text needs to be changed, as the Working-draft is more than just incomplete. TextShadow is not supported yet.

    Author:
    Thomas Morgner
    • 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:

        • 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.

      • WORD_BREAK

        public static final StyleKey WORD_BREAK
      • HYPHENATE

        public static final StyleKey HYPHENATE
      • TEXT_WRAP

        public static final StyleKey TEXT_WRAP
      • WORD_WRAP

        public static final StyleKey WORD_WRAP
      • TEXT_ALIGN

        public static final StyleKey TEXT_ALIGN
      • TEXT_ALIGN_LAST

        public static final StyleKey TEXT_ALIGN_LAST
      • TEXT_JUSTIFY

        public static final StyleKey TEXT_JUSTIFY
      • WORD_SPACING

        public static final StyleKey WORD_SPACING
      • X_MIN_WORD_SPACING

        public static final StyleKey X_MIN_WORD_SPACING
      • X_MAX_WORD_SPACING

        public static final StyleKey X_MAX_WORD_SPACING
      • X_OPTIMUM_WORD_SPACING

        public static final StyleKey X_OPTIMUM_WORD_SPACING
      • LETTER_SPACING

        public static final StyleKey LETTER_SPACING
      • X_MIN_LETTER_SPACING

        public static final StyleKey X_MIN_LETTER_SPACING
      • X_MAX_LETTER_SPACING

        public static final StyleKey X_MAX_LETTER_SPACING
      • X_OPTIMUM_LETTER_SPACING

        public static final StyleKey X_OPTIMUM_LETTER_SPACING
      • TEXT_KASHIDA_SPACE

        public static final StyleKey TEXT_KASHIDA_SPACE
        Arabic script specific
      • DIRECTION

        public static final StyleKey DIRECTION
      • BLOCK_PROGRESSION

        public static final StyleKey BLOCK_PROGRESSION
      • GLYPH_ORIENTATION_HORIZONTAL

        public static final StyleKey GLYPH_ORIENTATION_HORIZONTAL
      • GLYPH_ORIENTATION_VERTICAL

        public static final StyleKey GLYPH_ORIENTATION_VERTICAL
      • UNICODE_BIDI

        public static final StyleKey UNICODE_BIDI
      • TEXT_SCRIPT

        public static final StyleKey TEXT_SCRIPT
      • TEXT_JUSTIFY_TRIM

        public static final StyleKey TEXT_JUSTIFY_TRIM
        todo: For asian scripts; not yet used.
      • TEXT_INDENT

        public static final StyleKey TEXT_INDENT
      • TEXT_OVERFLOW_MODE

        public static final StyleKey TEXT_OVERFLOW_MODE
      • TEXT_OVERFLOW_ELLIPSIS

        public static final StyleKey TEXT_OVERFLOW_ELLIPSIS
      • X_LINE_TEXT_OVERFLOW_ELLIPSIS

        public static final StyleKey X_LINE_TEXT_OVERFLOW_ELLIPSIS
      • X_BLOCK_TEXT_OVERFLOW_ELLIPSIS

        public static final StyleKey X_BLOCK_TEXT_OVERFLOW_ELLIPSIS
      • PUNCTUATION_TRIM

        public static final StyleKey PUNCTUATION_TRIM
        Asian fonts only
      • TEXT_AUTO_SPACE

        public static final StyleKey TEXT_AUTO_SPACE
        Asian fonts only
      • KERNING_MODE

        public static final StyleKey KERNING_MODE
      • KERNING_PAIR_THRESHOLD

        public static final StyleKey KERNING_PAIR_THRESHOLD
      • TEXT_UNDERLINE_STYLE

        public static final StyleKey TEXT_UNDERLINE_STYLE
      • TEXT_LINE_THROUGH_STYLE

        public static final StyleKey TEXT_LINE_THROUGH_STYLE
      • TEXT_OVERLINE_STYLE

        public static final StyleKey TEXT_OVERLINE_STYLE
      • TEXT_UNDERLINE_WIDTH

        public static final StyleKey TEXT_UNDERLINE_WIDTH
      • TEXT_LINE_THROUGH_WIDTH

        public static final StyleKey TEXT_LINE_THROUGH_WIDTH
      • TEXT_OVERLINE_WIDTH

        public static final StyleKey TEXT_OVERLINE_WIDTH
      • TEXT_UNDERLINE_MODE

        public static final StyleKey TEXT_UNDERLINE_MODE
      • TEXT_LINE_THROUGH_MODE

        public static final StyleKey TEXT_LINE_THROUGH_MODE
      • TEXT_OVERLINE_MODE

        public static final StyleKey TEXT_OVERLINE_MODE
      • TEXT_UNDERLINE_COLOR

        public static final StyleKey TEXT_UNDERLINE_COLOR
      • TEXT_LINE_THROUGH_COLOR

        public static final StyleKey TEXT_LINE_THROUGH_COLOR
      • TEXT_OVERLINE_COLOR

        public static final StyleKey TEXT_OVERLINE_COLOR
      • TEXT_UNDERLINE_POSITION

        public static final StyleKey TEXT_UNDERLINE_POSITION
      • TEXT_BLINK

        public static final StyleKey TEXT_BLINK
      • LINE_GRID_MODE

        public static final StyleKey LINE_GRID_MODE
      • LINE_GRID_PROGRESSION

        public static final StyleKey LINE_GRID_PROGRESSION
      • TEXT_TRANSFORM

        public static final StyleKey TEXT_TRANSFORM
      • HANGING_PUNCTUATION

        public static final StyleKey HANGING_PUNCTUATION
      • TEXT_COMBINE

        public static final StyleKey TEXT_COMBINE
      • TEXT_EMPHASIZE_TYPE

        public static final StyleKey TEXT_EMPHASIZE_TYPE
      • TEXT_EMPHASIZE_POSITION

        public static final StyleKey TEXT_EMPHASIZE_POSITION