Java Platform 1.2
Beta 4

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

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

public static class StyleConstants.CharacterConstants
extends Object
implements AttributeSet.CharacterAttribute
This is a typesafe enumeration of the well-known attributes that contribute to a character style. These are aliased by the outer class for general presentation.


Field Summary
static Object Background
          Name of the background color attribute.
static Object BidiLevel
          Bidirectional level of a character as assigned by the Unicode bidi algorithm.
static Object Bold
          Name of the bold attribute.
static Object ComponentAttribute
          Name of the component attribute.
static Object Family
          Name of the font family.
static Object Foreground
          Name of the foreground color attribute.
static Object IconAttribute
          Name of the icon attribute.
static Object Italic
          Name of the italic attribute.
static Object Size
          Name of the font size.
static Object Underline
          Name of the underline attribute.
 
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

Underline

public static final Object Underline
Name of the underline attribute.

ComponentAttribute

public static final Object ComponentAttribute
Name of the component attribute.

IconAttribute

public static final Object IconAttribute
Name of the icon attribute.

BidiLevel

public static final Object BidiLevel
Bidirectional level of a character as assigned by the Unicode bidi algorithm.

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.

Foreground

public static final Object Foreground
Name of the foreground color attribute.

Background

public static final Object Background
Name of the background color 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.