javax.swing.text

Class StyleConstants.FontConstants

public static class StyleConstants.FontConstants extends StyleConstants implements AttributeSet.FontAttribute, AttributeSet.CharacterAttribute

A set of keys for attributes that apply to fonts.
Field Summary
static ObjectBold
A key for the bold font attribute.
static ObjectFamily
A key for the family font attribute.
static ObjectItalic
A key for the italic font attribute.
static ObjectSize
A key for the size font attribute.

Field Detail

Bold

public static final Object Bold
A key for the bold font attribute.

Family

public static final Object Family
A key for the family font attribute.

Italic

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

Size

public static final Object Size
A key for the size font attribute.