SynthConstantspublic 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 . |
Fields Summary |
---|
public static final int | ENABLEDPrimary state indicating the component is enabled. | public static final int | MOUSE_OVERPrimary state indicating the mouse is over the region. | public static final int | PRESSEDPrimary 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 | DISABLEDPrimary state indicating the region is not enabled. | public static final int | FOCUSEDIndicates the region has focus. | public static final int | SELECTEDIndicates the region is selected. | public static final int | DEFAULTIndicates the region is the default. This is typically used for buttons
to indicate this button is somehow special. |
|