javax.swing.text

Class StyleConstants.ColorConstants

public static class StyleConstants.ColorConstants extends StyleConstants implements AttributeSet.ColorAttribute, AttributeSet.CharacterAttribute

A set of keys for attributes that relate to colors.
Field Summary
static ObjectBackground
A key for the background color attribute.
static ObjectForeground
A key for the foreground color attribute.

Field Detail

Background

public static final Object Background
A key for the background color attribute.

Foreground

public static final Object Foreground
A key for the foreground color attribute.