-
- 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 SynthConstantsConstants 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,PRESSEDorDISABLED, and may also containFOCUSED,SELECTEDorDEFAULT.- Since:
- 1.5
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULTIndicates the region is the default.static intDISABLEDPrimary state indicating the region is not enabled.static intENABLEDPrimary state indicating the component is enabled.static intFOCUSEDIndicates the region has focus.static intMOUSE_OVERPrimary state indicating the mouse is over the region.static intPRESSEDPrimary state indicating the region is in a pressed state.static intSELECTEDIndicates 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
-
-