Package net.infonode.docking.theme
Class GradientDockingTheme
- java.lang.Object
-
- net.infonode.docking.theme.DockingWindowsTheme
-
- net.infonode.docking.theme.GradientDockingTheme
-
public class GradientDockingTheme extends DockingWindowsTheme
A theme that draws gradient tab backgrounds.- Since:
- IDW 1.1.0
- Version:
- $Revision: 1.12 $
-
-
Field Summary
Fields Modifier and Type Field Description private java.awt.ColorborderColorprivate booleanfocusHighlighterEnabledprivate booleanhighlightedBoldprivate booleanopaqueTabAreaprivate RootWindowPropertiesrootPropertiesprivate booleanshadowEnabledprivate java.awt.ColortabAreaBackgroundColor
-
Constructor Summary
Constructors Constructor Description GradientDockingTheme()Creates 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, java.awt.Color borderColor)Constructor.GradientDockingTheme(boolean opaqueTabArea, boolean shadowEnabled, boolean highlightedBold, boolean focusHighlighterEnabled, java.awt.Color borderColor, java.awt.Color tabAreaBackgroundColor)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidcreateRootWindowProperties(GradientTheme theme)private voidcreateWindowBarProperties(GradientTheme theme)java.lang.StringgetName()Returns the name of this theme.RootWindowPropertiesgetRootWindowProperties()Returns the root window properties for this theme.-
Methods inherited from class net.infonode.docking.theme.DockingWindowsTheme
toString
-
-
-
-
Field Detail
-
opaqueTabArea
private boolean opaqueTabArea
-
shadowEnabled
private boolean shadowEnabled
-
highlightedBold
private boolean highlightedBold
-
focusHighlighterEnabled
private boolean focusHighlighterEnabled
-
borderColor
private java.awt.Color borderColor
-
tabAreaBackgroundColor
private java.awt.Color tabAreaBackgroundColor
-
rootProperties
private RootWindowProperties rootProperties
-
-
Constructor Detail
-
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, java.awt.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, java.awt.Color borderColor, java.awt.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 Detail
-
createRootWindowProperties
private void createRootWindowProperties(GradientTheme theme)
-
createWindowBarProperties
private void createWindowBarProperties(GradientTheme theme)
-
getName
public java.lang.String getName()
Description copied from class:DockingWindowsThemeReturns the name of this theme.- Specified by:
getNamein classDockingWindowsTheme- Returns:
- the name of this theme
-
getRootWindowProperties
public RootWindowProperties getRootWindowProperties()
Description copied from class:DockingWindowsThemeReturns the root window properties for this theme.- Specified by:
getRootWindowPropertiesin classDockingWindowsTheme- Returns:
- the root window properties for this theme
-
-