API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.font. TextAttribute View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AttributedCharacterIterator.Attribute
          TextAttribute
Implements
Subclasses
Description
publicfinal class TextAttribute
  The TextAttribute class defines attribute keys and attribute values used for text rendering.
Constructors
protected TextAttribute (String name)
  Constructs a TextAttribute with the specified name.
Methods
Hide/Show inherited methods
publicfinal boolean equals (Object obj) [Inherited From AttributedCharacterIterator.Attribute]
  Compares two objects for equality.
protected String getName () [Inherited From AttributedCharacterIterator.Attribute]
Returns the name of the attribute.
publicfinal int hashCode () [Inherited From AttributedCharacterIterator.Attribute]
  Returns a hash code value for the object.
protected Object readResolve () throws InvalidObjectException [Overrides AttributedCharacterIterator.Attribute]
Resolves instances being deserialized to the predefined constants.
public String toString () [Inherited From AttributedCharacterIterator.Attribute]
  Returns a string representation of the object.
Fields
Hide/Show inherited fields
publicfinalstatic TextAttribute BACKGROUND
  Attribute key for the paint used to render the background of the text.
publicfinalstatic TextAttribute BIDI_EMBEDDING
  Attribute key for the embedding level of the text.
publicfinalstatic TextAttribute CHAR_REPLACEMENT
  Attribute key for a user-defined glyph to display in lieu of the font's standard glyph for a character.
publicfinalstatic TextAttribute FAMILY
  Attribute key for the font name.
publicfinalstatic TextAttribute FONT
  Attribute key used to provide the font to use to render text.
publicfinalstatic TextAttribute FOREGROUND
  Attribute key for the paint used to render the text.
publicfinalstatic TextAttribute INPUT_METHOD_HIGHLIGHT
  Attribute key for input method highlight styles.
publicfinalstatic Attribute INPUT_METHOD_SEGMENT [Inherited From AttributedCharacterIterator.Attribute]
  Attribute key for input method segments.
publicfinalstatic TextAttribute INPUT_METHOD_UNDERLINE
  Attribute key for input method underlines.
publicfinalstatic TextAttribute JUSTIFICATION
  Attribute key for the justification of a paragraph.
publicfinalstatic Float JUSTIFICATION_FULL
  Justify the line to the full requested width.
publicfinalstatic Float JUSTIFICATION_NONE
  Do not allow the line to be justified.
publicfinalstatic TextAttribute KERNING
  Attribute key to request kerning.
publicfinalstatic Integer KERNING_ON
  Request standard kerning.
publicfinalstatic Attribute LANGUAGE [Inherited From AttributedCharacterIterator.Attribute]
  Attribute key for the language of some text.
publicfinalstatic TextAttribute LIGATURES
  Attribute key for enabling optional ligatures.
publicfinalstatic Integer LIGATURES_ON
  Request standard optional ligatures.
publicfinalstatic TextAttribute NUMERIC_SHAPING
  Attribute key for converting ASCII decimal digits to other decimal ranges.
publicfinalstatic TextAttribute POSTURE
  Attribute key for the posture of a font.
publicfinalstatic Float POSTURE_OBLIQUE
  The standard italic posture.
publicfinalstatic Float POSTURE_REGULAR
  The standard posture, upright.
publicfinalstatic Attribute READING [Inherited From AttributedCharacterIterator.Attribute]
  Attribute key for the reading of some text.
publicfinalstatic TextAttribute RUN_DIRECTION
  Attribute key for the run direction of the line.
publicfinalstatic Boolean RUN_DIRECTION_LTR
  Left-to-right run direction.
publicfinalstatic Boolean RUN_DIRECTION_RTL
  Right-to-left run direction.
pack-privatefinalstatic long serialVersionUID = "7744112784117861702"
publicfinalstatic TextAttribute SIZE
  Attribute key for the font size.
publicfinalstatic TextAttribute STRIKETHROUGH
  Attribute key for strikethrough.
publicfinalstatic Boolean STRIKETHROUGH_ON
  A single strikethrough.
publicfinalstatic TextAttribute SUPERSCRIPT
  Attribute key for superscripting and subscripting.
publicfinalstatic Integer SUPERSCRIPT_SUB
  Standard subscript.
publicfinalstatic Integer SUPERSCRIPT_SUPER
  Standard superscript.
publicfinalstatic TextAttribute SWAP_COLORS
  Attribute key for swapping foreground and background Paints.
publicfinalstatic Boolean SWAP_COLORS_ON
  Swap foreground and background.
publicfinalstatic TextAttribute TRACKING
  Attribute key to control tracking.
publicfinalstatic Float TRACKING_LOOSE
  Perform loose tracking.
publicfinalstatic Float TRACKING_TIGHT
  Perform tight tracking.
publicfinalstatic TextAttribute TRANSFORM
  Attribute key for the transform of a font.
publicfinalstatic TextAttribute UNDERLINE
  Attribute key for underline.
publicfinalstatic Integer UNDERLINE_LOW_DASHED
  Single pixel dashed low underline.
publicfinalstatic Integer UNDERLINE_LOW_DOTTED
  Single pixel dotted low underline.
publicfinalstatic Integer UNDERLINE_LOW_GRAY
  Double pixel gray low underline.
publicfinalstatic Integer UNDERLINE_LOW_ONE_PIXEL
  Single pixel solid low underline.
publicfinalstatic Integer UNDERLINE_LOW_TWO_PIXEL
  Double pixel solid low underline.
publicfinalstatic Integer UNDERLINE_ON
  Standard underline.
publicfinalstatic TextAttribute WEIGHT
  Attribute key for the weight of a font.
publicfinalstatic Float WEIGHT_BOLD
  The standard bold weight.
publicfinalstatic Float WEIGHT_DEMIBOLD
  A moderately lighter weight than WEIGHT_BOLD.
publicfinalstatic Float WEIGHT_DEMILIGHT
  An intermediate weight between WEIGHT_LIGHT and WEIGHT_STANDARD.
publicfinalstatic Float WEIGHT_EXTRA_LIGHT
  The lightest predefined weight.
publicfinalstatic Float WEIGHT_EXTRABOLD
  An extra heavy weight.
publicfinalstatic Float WEIGHT_HEAVY
  A moderately heavier weight than WEIGHT_BOLD.
publicfinalstatic Float WEIGHT_LIGHT
  The standard light weight.
publicfinalstatic Float WEIGHT_MEDIUM
  An intermediate weight between WEIGHT_REGULAR and WEIGHT_BOLD.
publicfinalstatic Float WEIGHT_REGULAR
  The standard weight.
publicfinalstatic Float WEIGHT_SEMIBOLD
  A moderately heavier weight than WEIGHT_REGULAR.
publicfinalstatic Float WEIGHT_ULTRABOLD
  The heaviest predefined weight.
publicfinalstatic TextAttribute WIDTH
  Attribute key for the width of a font.
publicfinalstatic Float WIDTH_CONDENSED
  The most condensed predefined width.
publicfinalstatic Float WIDTH_EXTENDED
  The most extended predefined width.
publicfinalstatic Float WIDTH_REGULAR
  The standard width.
publicfinalstatic Float WIDTH_SEMI_CONDENSED
  A moderately condensed width.
publicfinalstatic Float WIDTH_SEMI_EXTENDED
  A moderately extended width.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar