JavaTM 2 Platform
Standard Ed. 5.0

Uses of Class
java.awt.font.TextAttribute

Packages that use TextAttribute
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.font Provides classes and interface relating to fonts. 
java.awt.im Provides classes and interfaces for the input method framework. 
 

Uses of TextAttribute in java.awt
 

Methods in java.awt that return types with arguments of type TextAttribute
 Map<TextAttribute,?> Font.getAttributes()
          Returns a map of font attributes available in this Font.
abstract  Map<TextAttribute,?> Toolkit.mapInputMethodHighlight(InputMethodHighlight highlight)
          Returns a map of visual attributes for the abstract level description of the given input method highlight, or null if no mapping is found.
 

Uses of TextAttribute in java.awt.font
 

Fields in java.awt.font declared as TextAttribute
static TextAttribute TextAttribute.BACKGROUND
          Attribute key for the background Paint adornment.
static TextAttribute TextAttribute.BIDI_EMBEDDING
          Attribute key for the embedding level for nested bidirectional runs.
static TextAttribute TextAttribute.CHAR_REPLACEMENT
          Attribute key for a user_defined glyph to display in the text in lieu of a character.
static TextAttribute TextAttribute.FAMILY
          Attribute key for the unlocalized font family name.
static TextAttribute TextAttribute.FONT
          Attribute key for the font to use to render text.
static TextAttribute TextAttribute.FOREGROUND
          Attribute key for the foreground paint adornment.
static TextAttribute TextAttribute.INPUT_METHOD_HIGHLIGHT
          Attribute key for input method highlight styles.
static TextAttribute TextAttribute.INPUT_METHOD_UNDERLINE
          Attribute key for input method underline adornments.
static TextAttribute TextAttribute.JUSTIFICATION
          Attribute key for the justification of a paragraph.
static TextAttribute TextAttribute.NUMERIC_SHAPING
          Attribute key for converting ASCII decimal digits to other decimal ranges.
static TextAttribute TextAttribute.POSTURE
          Attribute key for the posture of a font.
static TextAttribute TextAttribute.RUN_DIRECTION
          Attribute key for the run direction of the line.
static TextAttribute TextAttribute.SIZE
          Attribute key for the font size.
static TextAttribute TextAttribute.STRIKETHROUGH
          Attribute key for the strikethrough adornment.
static TextAttribute TextAttribute.SUPERSCRIPT
          Attribute key for super and subscripting.
static TextAttribute TextAttribute.SWAP_COLORS
          Attribute key for swapping foreground and background Paints (or Colors).
static TextAttribute TextAttribute.TRANSFORM
          Attribute key for the transform of a font.
static TextAttribute TextAttribute.UNDERLINE
          Attribute key for underline adornments.
static TextAttribute TextAttribute.WEIGHT
          Attribute key for the weight of a font.
static TextAttribute TextAttribute.WIDTH
          Attribute key for the width of a font.
 

Uses of TextAttribute in java.awt.im
 

Methods in java.awt.im that return types with arguments of type TextAttribute
 Map<TextAttribute,?> InputMethodHighlight.getStyle()
          Returns the rendering style attributes for the text range, or null.
 

Constructor parameters in java.awt.im with type arguments of type TextAttribute
InputMethodHighlight(boolean selected, int state, int variation, Map<TextAttribute,?> style)
          Constructs an input method highlight record.
 


JavaTM 2 Platform
Standard Ed. 5.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.