Package org.pushingpixels.substance.api
Class DecorationAreaType
- java.lang.Object
-
- org.pushingpixels.substance.api.DecorationAreaType
-
public final class DecorationAreaType extends Object
Enumeration of available decoration area types. This class is part of officially supported API.- Since:
- version 4.3
-
-
Field Summary
Fields Modifier and Type Field Description static DecorationAreaTypeFOOTERAny area that can be placed in the bottom portion of its window.static DecorationAreaTypeGENERALAny general area that does not fit for the other types.static DecorationAreaTypeHEADERAny area that can be placed in the top portion of its window.static DecorationAreaTypeNONEThe default decoration area type.static DecorationAreaTypePRIMARY_TITLE_PANETitle pane of top-level windows (frames, dialogs).static DecorationAreaTypePRIMARY_TITLE_PANE_INACTIVETitle pane of top-level windows (frames, dialogs) when not active.static DecorationAreaTypeSECONDARY_TITLE_PANETitle pane of non top-level windows (internal frames, desktop icons).static DecorationAreaTypeSECONDARY_TITLE_PANE_INACTIVETitle pane of non top-level windows (internal frames, desktop icons) when not active.static DecorationAreaTypeTOOLBARTool bar.
-
Constructor Summary
Constructors Constructor Description DecorationAreaType(String displayName)
-
-
-
Field Detail
-
PRIMARY_TITLE_PANE
public static final DecorationAreaType PRIMARY_TITLE_PANE
Title pane of top-level windows (frames, dialogs).
-
PRIMARY_TITLE_PANE_INACTIVE
public static final DecorationAreaType PRIMARY_TITLE_PANE_INACTIVE
Title pane of top-level windows (frames, dialogs) when not active.
-
SECONDARY_TITLE_PANE
public static final DecorationAreaType SECONDARY_TITLE_PANE
Title pane of non top-level windows (internal frames, desktop icons).
-
SECONDARY_TITLE_PANE_INACTIVE
public static final DecorationAreaType SECONDARY_TITLE_PANE_INACTIVE
Title pane of non top-level windows (internal frames, desktop icons) when not active.
-
TOOLBAR
public static final DecorationAreaType TOOLBAR
Tool bar.
-
HEADER
public static final DecorationAreaType HEADER
Any area that can be placed in the top portion of its window. Menu bar is an example of a core Swing component.JXHeaderandJXTitledPaneltitled area (components from SwingX suite) are examples of third-party components.
-
FOOTER
public static final DecorationAreaType FOOTER
Any area that can be placed in the bottom portion of its window.JXStatusBarcomponent from SwingX suite is an example of a third-party component.
-
GENERAL
public static final DecorationAreaType GENERAL
Any general area that does not fit for the other types.JXTaskPaneContainercomponent from SwingX suite is an example of a third-party component.
-
NONE
public static final DecorationAreaType NONE
The default decoration area type. Components placed in areas with this type do not get any special background decoration painting.
-
-
Constructor Detail
-
DecorationAreaType
public DecorationAreaType(String displayName)
-
-