Uses of Class
java.awt.font.TextAttribute
Packages that use TextAttribute
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes and interface relating to fonts.
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 TextAttributeModifier and TypeMethodDescriptionMap<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 TextAttributeModifier and TypeFieldDescriptionstatic final TextAttributeTextAttribute.BACKGROUNDAttribute key for the paint used to render the background of the text.static final TextAttributeTextAttribute.BIDI_EMBEDDINGAttribute key for the embedding level of the text.static final TextAttributeTextAttribute.CHAR_REPLACEMENTAttribute key for a user-defined glyph to display in lieu of the font's standard glyph for a character.static final TextAttributeTextAttribute.FAMILYAttribute key for the font name.static final TextAttributeTextAttribute.FONTAttribute key used to provide the font to use to render text.static final TextAttributeTextAttribute.FOREGROUNDAttribute key for the paint used to render the text.static final TextAttributeTextAttribute.INPUT_METHOD_HIGHLIGHTAttribute key for input method highlight styles.static final TextAttributeTextAttribute.INPUT_METHOD_UNDERLINEAttribute key for input method underlines.static final TextAttributeTextAttribute.JUSTIFICATIONAttribute key for the justification of a paragraph.static final TextAttributeTextAttribute.KERNINGAttribute key to request kerning.static final TextAttributeTextAttribute.LIGATURESAttribute key for enabling optional ligatures.static final TextAttributeTextAttribute.NUMERIC_SHAPINGAttribute key for converting ASCII decimal digits to other decimal ranges.static final TextAttributeTextAttribute.POSTUREAttribute key for the posture of a font.static final TextAttributeTextAttribute.RUN_DIRECTIONAttribute key for the run direction of the line.static final TextAttributeTextAttribute.SIZEAttribute key for the font size.static final TextAttributeTextAttribute.STRIKETHROUGHAttribute key for strikethrough.static final TextAttributeTextAttribute.SUPERSCRIPTAttribute key for superscripting and subscripting.static final TextAttributeTextAttribute.SWAP_COLORSAttribute key for swapping foreground and backgroundPaints.static final TextAttributeTextAttribute.TRACKINGAttribute key to control tracking.static final TextAttributeTextAttribute.TRANSFORMAttribute key for the transform of a font.static final TextAttributeTextAttribute.UNDERLINEAttribute key for underline.static final TextAttributeTextAttribute.WEIGHTAttribute key for the weight of a font.static final 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 TextAttributeModifier and TypeMethodDescriptionMap<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 TextAttributeModifierConstructorDescriptionInputMethodHighlight(boolean selected, int state, int variation, Map<TextAttribute, ?> style) Constructs an input method highlight record.