This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf.synth
interface 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.


Field Summary
static int DEFAULT
          Indicates the region is the default.
static int DISABLED
          Primary state indicating the region is not enabled.
static int ENABLED
          Primary state indicating the component is enabled.
static int FOCUSED
          Indicates the region has focus.
static int MOUSE_OVER
          Primary state indicating the mouse is over the region.
static int PRESSED
          Primary state indicating the region is in a pressed state.
static int SELECTED
          Indicates the region is selected.
 

Field Detail

DEFAULT

public static final int DEFAULT
Indicates the region is the default. This is typically used for buttons to indicate this button is somehow special.

DISABLED

public static final int DISABLED
Primary state indicating the region is not enabled.

ENABLED

public static final int ENABLED
Primary state indicating the component is enabled.

FOCUSED

public static final int FOCUSED
Indicates the region has focus.

MOUSE_OVER

public static final int MOUSE_OVER
Primary state indicating the mouse is over the region.

PRESSED

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.

SELECTED

public static final int SELECTED
Indicates the region is selected.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.