Java Platform 1.2
Beta 4

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

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

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


Field Summary
static Object Background
          Name of the background color attribute.
static Object Foreground
          Name of the foreground color 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

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.