SynthContext.getComponentState() will at
least be one of ENABLED, MOUSE_OVER,
PRESSED or DISABLED, and may also contain
FOCUSED, SELECTED or DEFAULT.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | DEFAULT
Indicates the region is the default. |
| public static final int | DISABLED
Primary state indicating the region is not enabled. |
| public static final int | ENABLED
Primary state indicating the component is enabled. |
| public static final int | FOCUSED
Indicates the region has focus. |
| 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. |
| public static final int | SELECTED
Indicates the region is selected. |
| DEFAULT | back to summary |
|---|---|
| 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 | back to summary |
|---|---|
| public static final int DISABLED Primary state indicating the region is not enabled. | |
| ENABLED | back to summary |
|---|---|
| public static final int ENABLED Primary state indicating the component is enabled. | |
| FOCUSED | back to summary |
|---|---|
| public static final int FOCUSED Indicates the region has focus. | |
| MOUSE_OVER | back to summary |
|---|---|
| public static final int MOUSE_OVER Primary state indicating the mouse is over the region. | |
| PRESSED | back to summary |
|---|---|
| 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 | back to summary |
|---|---|
| public static final int SELECTED Indicates the region is selected. | |