javax.swing.text
Class StyleConstants.FontConstantsjava.lang.Object | +--javax.swing.text.StyleConstants | +--javax.swing.text.StyleConstants.FontConstants
- All Implemented Interfaces:
- AttributeSet.CharacterAttribute, AttributeSet.FontAttribute
- Enclosing class:
- StyleConstants
- public static class StyleConstants.FontConstants
- extends StyleConstants
- implements AttributeSet.FontAttribute, AttributeSet.CharacterAttribute
This is a typesafe enumeration of the well-known attributes that contribute to a font. 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 Bold
Name of the bold attribute.static Object Family
Name of the font family.static Object Italic
Name of the italic attribute.static Object Size
Name of the font size.
Fields inherited from class javax.swing.text.StyleConstants ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_LEFT, ALIGN_RIGHT, Alignment, Background, BidiLevel, ComponentAttribute, ComponentElementName, ComposedTextAttribute, FirstLineIndent, FontFamily, FontSize, Foreground, IconAttribute, IconElementName, LeftIndent, LineSpacing, ModelAttribute, NameAttribute, Orientation, ResolveAttribute, RightIndent, SpaceAbove, SpaceBelow,