FileDocCategorySizeDatePackage
SynthConstants.javaAPI DocJava SE 5 API1723Fri Aug 26 14:58:12 BST 2005javax.swing.plaf.synth

SynthConstants

public interface SynthConstants
Constants used by Synth. Not all Components support all states. A Component will at least be in one of the primary states. That is, the return value from SynthContext.getComponentState() will at least be one of ENABLED, MOUSE_OVER, PRESSED or DISABLED, and may also contain FOCUSED, SELECTED or DEFAULT.
version
1.7, 12/19/03
since
1.5

Fields Summary
public static final int
ENABLED
Primary state indicating the component is enabled.
public static final int
MOUSE_OVER
Primary state indicating the mouse is over the region.
public static final int
PRESSED
Primary state indicating the region is in a pressed state. Pressed does not necessarily mean the user has pressed the mouse button.
public static final int
DISABLED
Primary state indicating the region is not enabled.
public static final int
FOCUSED
Indicates the region has focus.
public static final int
SELECTED
Indicates the region is selected.
public static final int
DEFAULT
Indicates the region is the default. This is typically used for buttons to indicate this button is somehow special.
Constructors Summary
Methods Summary