javax.swing.text
Class StyleConstants.CharacterConstants

java.lang.Object
  |
  +--javax.swing.text.StyleConstants
        |
        +--javax.swing.text.StyleConstants.CharacterConstants
All Implemented Interfaces:
AttributeSet.CharacterAttribute
Enclosing class:
StyleConstants
public static class StyleConstants.CharacterConstants
extends StyleConstants
implements AttributeSet.CharacterAttribute

This is a typesafe enumeration of the well-known attributes that contribute to a character style. These are aliased by the outer class for general presentation.

 

Nested Class Summary

 
Nested classes inherited from class javax.swing.text.StyleConstants
StyleConstants.CharacterConstants, StyleConstants.ColorConstants, StyleConstants.FontConstants, StyleConstants.ParagraphConstants
 

 

Field Summary

static Object Background
    Name of the background color attribute.
static Object BidiLevel
    Bidirectional level of a character as assigned by the Unicode bidi algorithm.
static Object Bold
    Name of the bold attribute.
static Object ComponentAttribute
    Name of the component attribute.
static Object Family
    Name of the font family.
static Object Foreground
    Name of the foreground color attribute.
static Object IconAttribute
    Name of the icon attribute.
static Object Italic
    Name of the italic attribute.
static Object Size
    Name of the font size.
static Object StrikeThrough
    Name of the strikethrough attribute.
static Object Subscript
    Name of the subscript attribute.
static Object Superscript
    Name of the superscript attribute.
static Object Underline
    Name of the underline attribute.