javax.swing.text
Class StyleConstants.ColorConstants

java.lang.Object
  |
  +--javax.swing.text.StyleConstants
        |
        +--javax.swing.text.StyleConstants.ColorConstants
All Implemented Interfaces:
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute
Enclosing class:
StyleConstants
public static class StyleConstants.ColorConstants
extends StyleConstants
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.

 

Nested Class Summary

 
Nested classes inherited from class javax.swing.text.StyleConstants
StyleConstants.CharacterConstants, StyleConstants.ColorConstants, StyleConstants.FontConstants, StyleConstants.ParagraphConstants
 

 

Field Summary

static Object Background
    Name of the background color attribute.
static Object Foreground
    Name of the foreground color attribute.