Module java.desktop

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 Summary

    Fields 
    Modifier and Type Field 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.