SynthUI
SynthButtonUI
, SynthCheckBoxMenuItemUI
, SynthCheckBoxUI
, SynthColorChooserUI
, SynthComboBoxUI
, SynthDesktopIconUI
, SynthDesktopPaneUI
, SynthEditorPaneUI
, SynthFormattedTextFieldUI
, SynthInternalFrameUI
, SynthLabelUI
, SynthListUI
, SynthMenuBarUI
, SynthMenuItemUI
, SynthMenuUI
, SynthOptionPaneUI
, SynthPanelUI
, SynthPasswordFieldUI
, SynthPopupMenuUI
, SynthProgressBarUI
, SynthRadioButtonMenuItemUI
, SynthRadioButtonUI
, SynthRootPaneUI
, SynthScrollBarUI
, SynthScrollPaneUI
, SynthSeparatorUI
, SynthSliderUI
, SynthSpinnerUI
, SynthSplitPaneUI
, SynthTabbedPaneUI
, SynthTableHeaderUI
, SynthTableUI
, SynthTextAreaUI
, SynthTextFieldUI
, SynthTextPaneUI
, SynthToggleButtonUI
, SynthToolBarUI
, SynthToolTipUI
, SynthTreeUI
, SynthViewportUI
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 | Description |
---|---|---|
static final int |
DEFAULT |
Indicates the region is the default. |
static final int |
DISABLED |
Primary state indicating the region is not enabled. |
static final int |
ENABLED |
Primary state indicating the component is enabled. |
static final int |
FOCUSED |
Indicates the region has focus. |
static final int |
MOUSE_OVER |
Primary state indicating the mouse is over the region. |
static final int |
PRESSED |
Primary state indicating the region is in a pressed state. |
static final 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
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/synth/SynthConstants.html