Package net.infonode.docking.theme
Class GradientDockingTheme
java.lang.Object
net.infonode.docking.theme.DockingWindowsTheme
net.infonode.docking.theme.GradientDockingTheme
A theme that draws gradient tab backgrounds.
- Since:
- IDW 1.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a default theme with opaque title bar, shadows and focus highlighter.GradientDockingTheme
(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled) Constructor.GradientDockingTheme
(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled, Color borderColor) Constructor.GradientDockingTheme
(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled, Color borderColor, Color tabAreaBackgroundColor) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this theme.Returns the root window properties for this theme.Methods inherited from class net.infonode.docking.theme.DockingWindowsTheme
toString
-
Constructor Details
-
GradientDockingTheme
public GradientDockingTheme()Creates a default theme with opaque title bar, shadows and focus highlighter. -
GradientDockingTheme
public GradientDockingTheme(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled) Constructor.- Parameters:
opaqueTabArea
- set to true if the tab area should be opaqueshadowEnabled
- shadow on/offhighlightedBold
- if true the highlighted tab text uses a bold fontfocusHighlighterEnabled
- if true the currently focused tab is highlighted
-
GradientDockingTheme
public GradientDockingTheme(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled, Color borderColor) Constructor.- Parameters:
opaqueTabArea
- set to true if the tab area should be opaqueshadowEnabled
- shadow on/offhighlightedBold
- if true the highlighted tab text uses a bold fontfocusHighlighterEnabled
- if true the currently focused tab is highlightedborderColor
- the border color
-
GradientDockingTheme
public GradientDockingTheme(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled, Color borderColor, Color tabAreaBackgroundColor) Constructor.- Parameters:
opaqueTabArea
- set to true if the tab area should be opaqueshadowEnabled
- shadow on/offhighlightedBold
- if true the highlighted tab text uses a bold fontfocusHighlighterEnabled
- if true the currently focused tab is highlightedborderColor
- the border colortabAreaBackgroundColor
- the background color for the tab area and tabs in the normal state
-
-
Method Details
-
getName
Description copied from class:DockingWindowsTheme
Returns the name of this theme.- Specified by:
getName
in classDockingWindowsTheme
- Returns:
- the name of this theme
-
getRootWindowProperties
Description copied from class:DockingWindowsTheme
Returns the root window properties for this theme.- Specified by:
getRootWindowProperties
in classDockingWindowsTheme
- Returns:
- the root window properties for this theme
-