javax.swing.plaf.synth
Modifier and Type | Field and Description |
---|---|
static ColorType |
BACKGROUND
A constant used to identify the background color of a component.
|
static ColorType |
FOCUS
A constant used to identify the focus color of a component.
|
static ColorType |
FOREGROUND
A constant used to identify the foreground color of a component.
|
static int |
MAX_COUNT
The maximum number of color types.
|
static ColorType |
TEXT_BACKGROUND
A constant used to identify the background color of text of a component.
|
static ColorType |
TEXT_FOREGROUND
A constant used to identify the foreground color of text of a component.
|
Modifier | Constructor and Description |
---|---|
protected |
ColorType(String desc)
Creates a new
Color color type with the specified
description. |
public static final ColorType FOREGROUND
public static final ColorType BACKGROUND
public static final ColorType TEXT_FOREGROUND
public static final ColorType TEXT_BACKGROUND
public static final ColorType FOCUS
public static final int MAX_COUNT
public final int getID()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)