public interface SynthConstants
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 |
---|---|
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.
|
static final int ENABLED
static final int MOUSE_OVER
static final int PRESSED
static final int DISABLED
static final int FOCUSED
static final int SELECTED
static final int DEFAULT
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.