Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Class StyleConstants.FontConstants  view StyleConstants.FontConstants download

  extended byjavax.swing.text.StyleConstants
      extended byjavax.swing.text.StyleConstants.FontConstants
All Implemented Interfaces:
AttributeSet.CharacterAttribute, AttributeSet.FontAttribute
Enclosing class:

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

A set of keys for attributes that apply to fonts.

Nested Class Summary
Nested classes inherited from class javax.swing.text.StyleConstants
StyleConstants.CharacterConstants, StyleConstants.ColorConstants, StyleConstants.FontConstants, StyleConstants.ParagraphConstants
Field Summary
static java.lang.Object Bold
          A key for the bold font attribute.
static java.lang.Object Family
          A key for the family font attribute.
static java.lang.Object Italic
          A key for the italic font attribute.
static java.lang.Object Size
          A key for the size font attribute.
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, keyname, LeftIndent, LineSpacing, ModelAttribute, NameAttribute, Orientation, ResolveAttribute, RightIndent, SpaceAbove, SpaceBelow, StrikeThrough, Subscript, Superscript, TabSet, Underline
Constructor Summary
private StyleConstants.FontConstants(java.lang.String k)
          Private constructor prevents new instances being created.
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


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


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


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


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

Constructor Detail


private StyleConstants.FontConstants(java.lang.String k)
Private constructor prevents new instances being created.