javax.swing.text

Class StyleConstants.CharacterConstants

public static class StyleConstants.CharacterConstants extends StyleConstants implements AttributeSet.CharacterAttribute

A set of keys for attributes that apply to characters.
Field Summary
static ObjectBackground
An alias for {@link ColorConstants#Background}.
static ObjectBidiLevel
A key for the bidi level character attribute.
static ObjectBold
An alias for {@link FontConstants#Bold}.
static ObjectComponentAttribute
A key for the component character attribute.
static ObjectFamily
An alias for {@link FontConstants#Family}.
static ObjectForeground
An alias for {@link ColorConstants#Foreground}.
static ObjectIconAttribute
A key for the icon character attribute.
static ObjectItalic
A key for the italic character attribute.
static ObjectSize
An alias for {@link FontConstants#Size}.
static ObjectStrikeThrough
A key for the strike through character attribute.
static ObjectSubscript
A key for the subscript character attribute.
static ObjectSuperscript
A key for the superscript character attribute.
static ObjectUnderline
A key for the underline character attribute.

Field Detail

Background

public static final Object Background
An alias for {@link ColorConstants#Background}.

BidiLevel

public static final Object BidiLevel
A key for the bidi level character attribute.

Bold

public static final Object Bold
An alias for {@link FontConstants#Bold}.

ComponentAttribute

public static final Object ComponentAttribute
A key for the component character attribute.

Family

public static final Object Family
An alias for {@link FontConstants#Family}.

Foreground

public static final Object Foreground
An alias for {@link ColorConstants#Foreground}.

IconAttribute

public static final Object IconAttribute
A key for the icon character attribute.

Italic

public static final Object Italic
A key for the italic character attribute.

Size

public static final Object Size
An alias for {@link FontConstants#Size}.

StrikeThrough

public static final Object StrikeThrough
A key for the strike through character attribute.

Subscript

public static final Object Subscript
A key for the subscript character attribute.

Superscript

public static final Object Superscript
A key for the superscript character attribute.

Underline

public static final Object Underline
A key for the underline character attribute.