Interface SynthConstants
- 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 from 
SynthContext.getComponentState() will at
 least be one of ENABLED, MOUSE_OVER,
 PRESSED or DISABLED, and may also contain
 FOCUSED, SELECTED or DEFAULT.- Since:
- 1.5
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intIndicates the region is the default.static final intPrimary state indicating the region is not enabled.static final intPrimary state indicating the component is enabled.static final intIndicates the region has focus.static final intPrimary state indicating the mouse is over the region.static final intPrimary state indicating the region is in a pressed state.static final intIndicates the region is selected.
- 
Field Details- 
ENABLEDstatic final int ENABLEDPrimary state indicating the component is enabled.- See Also:
 
- 
MOUSE_OVERstatic final int MOUSE_OVERPrimary state indicating the mouse is over the region.- See Also:
 
- 
PRESSEDstatic final int PRESSEDPrimary state indicating the region is in a pressed state. Pressed does not necessarily mean the user has pressed the mouse button.- See Also:
 
- 
DISABLEDstatic final int DISABLEDPrimary state indicating the region is not enabled.- See Also:
 
- 
FOCUSEDstatic final int FOCUSEDIndicates the region has focus.- See Also:
 
- 
SELECTEDstatic final int SELECTEDIndicates the region is selected.- See Also:
 
- 
DEFAULTstatic final int DEFAULTIndicates the region is the default. This is typically used for buttons to indicate this button is somehow special.- See Also:
 
 
-