-
- All Known Subinterfaces:
- SynthUI
- All Known Implementing Classes:
- 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
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 fromSynthContext.getComponentState()
will at least be one ofENABLED
,MOUSE_OVER
,PRESSED
orDISABLED
, and may also containFOCUSED
,SELECTED
orDEFAULT
.- Since:
- 1.5
-
-
Field Summary
Fields 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.
-
-
-
Field Detail
-
ENABLED
static final int ENABLED
Primary state indicating the component is enabled.- See Also:
- Constant Field Values
-
MOUSE_OVER
static final int MOUSE_OVER
Primary state indicating the mouse is over the region.- See Also:
- Constant Field Values
-
PRESSED
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.- See Also:
- Constant Field Values
-
DISABLED
static final int DISABLED
Primary state indicating the region is not enabled.- See Also:
- Constant Field Values
-
FOCUSED
static final int FOCUSED
Indicates the region has focus.- See Also:
- Constant Field Values
-
SELECTED
static final int SELECTED
Indicates the region is selected.- See Also:
- Constant Field Values
-
DEFAULT
static final int DEFAULT
Indicates the region is the default. This is typically used for buttons to indicate this button is somehow special.- See Also:
- Constant Field Values
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/plaf/synth/SynthConstants.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.