javax.swing.text
Class StyleConstants.FontConstants
java.lang.Object
|
+--javax.swing.text.StyleConstants
|
+--javax.swing.text.StyleConstants.FontConstants
- 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.
Fields inherited from class javax.swing.text.StyleConstants |
ALIGN_CENTER,
ALIGN_JUSTIFIED,
ALIGN_LEFT,
ALIGN_RIGHT,
Alignment,
Background,
BidiLevel,
Bold,
ComponentAttribute,
ComponentElementName,
ComposedTextAttribute,
FirstLineIndent,
FontFamily,
FontSize,
Foreground,
IconAttribute,
IconElementName,
Italic,
LeftIndent,
LineSpacing,
ModelAttribute,
NameAttribute,
Orientation,
ResolveAttribute,
RightIndent,
SpaceAbove,
SpaceBelow,
StrikeThrough,
Subscript,
Superscript,
TabSet,
Underline |
Methods inherited from class javax.swing.text.StyleConstants |
getAlignment,
getBackground,
getBidiLevel,
getComponent,
getFirstLineIndent,
getFontFamily,
getFontSize,
getForeground,
getIcon,
getLeftIndent,
getLineSpacing,
getRightIndent,
getSpaceAbove,
getSpaceBelow,
getTabSet,
isBold,
isItalic,
isStrikeThrough,
isSubscript,
isSuperscript,
isUnderline,
setAlignment,
setBackground,
setBidiLevel,
setBold,
setComponent,
setFirstLineIndent,
setFontFamily,
setFontSize,
setForeground,
setIcon,
setItalic,
setLeftIndent,
setLineSpacing,
setRightIndent,
setSpaceAbove,
setSpaceBelow,
setStrikeThrough,
setSubscript,
setSuperscript,
setTabSet,
setUnderline,
toString |
Family
public static final Object Family
- Name of the font family.
Size
public static final Object Size
- Name of the font size.
Bold
public static final Object Bold
- Name of the bold attribute.
Italic
public static final Object Italic
- Name of the italic attribute.
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.