Java Platform 1.2
Beta 4

Class com.sun.java.swing.text.StyleConstants.FontConstants

java.lang.Object
  |
  +--com.sun.java.swing.text.StyleConstants.FontConstants

public static class StyleConstants.FontConstants
extends Object
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.


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.
 
Method Summary
 String toString()
          Returns the string representation.
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , wait , wait , wait
 

Field Detail

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.
Method Detail

toString

public String toString()
Returns the string representation.
Returns:
the string
Overrides:
toString in class Object

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.