Uses of Class
java.awt.font.TextAttribute
| Package | Description |
|---|---|
| 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 Modifier and Type Method Description Map<TextAttribute,?>Font. getAttributes()Returns a map of font attributes available in thisFont.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 Modifier and Type Field Description static TextAttributeTextAttribute. BACKGROUNDAttribute key for the paint used to render the background of the text.static TextAttributeTextAttribute. BIDI_EMBEDDINGAttribute key for the embedding level of the text.static TextAttributeTextAttribute. CHAR_REPLACEMENTAttribute key for a user-defined glyph to display in lieu of the font's standard glyph for a character.static TextAttributeTextAttribute. FAMILYAttribute key for the font name.static TextAttributeTextAttribute. FONTAttribute key used to provide the font to use to render text.static TextAttributeTextAttribute. FOREGROUNDAttribute key for the paint used to render the text.static TextAttributeTextAttribute. INPUT_METHOD_HIGHLIGHTAttribute key for input method highlight styles.static TextAttributeTextAttribute. INPUT_METHOD_UNDERLINEAttribute key for input method underlines.static TextAttributeTextAttribute. JUSTIFICATIONAttribute key for the justification of a paragraph.static TextAttributeTextAttribute. KERNINGAttribute key to request kerning.static TextAttributeTextAttribute. LIGATURESAttribute key for enabling optional ligatures.static TextAttributeTextAttribute. NUMERIC_SHAPINGAttribute key for converting ASCII decimal digits to other decimal ranges.static TextAttributeTextAttribute. POSTUREAttribute key for the posture of a font.static TextAttributeTextAttribute. RUN_DIRECTIONAttribute key for the run direction of the line.static TextAttributeTextAttribute. SIZEAttribute key for the font size.static TextAttributeTextAttribute. STRIKETHROUGHAttribute key for strikethrough.static TextAttributeTextAttribute. SUPERSCRIPTAttribute key for superscripting and subscripting.static TextAttributeTextAttribute. SWAP_COLORSAttribute key for swapping foreground and backgroundPaints.static TextAttributeTextAttribute. TRACKINGAttribute key to control tracking.static TextAttributeTextAttribute. TRANSFORMAttribute key for the transform of a font.static TextAttributeTextAttribute. UNDERLINEAttribute key for underline.static TextAttributeTextAttribute. WEIGHTAttribute key for the weight of a font.static TextAttributeTextAttribute. WIDTHAttribute 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 Modifier and Type Method Description 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 Constructor Description InputMethodHighlight(boolean selected, int state, int variation, Map<TextAttribute,?> style)Constructs an input method highlight record.