Class GradientDockingTheme


  • public class GradientDockingTheme
    extends DockingWindowsTheme
    A theme that draws gradient tab backgrounds.
    Since:
    IDW 1.1.0
    • 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.
    • 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 opaque
        shadowEnabled - shadow on/off
        highlightedBold - if true the highlighted tab text uses a bold font
        focusHighlighterEnabled - 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 opaque
        shadowEnabled - shadow on/off
        highlightedBold - if true the highlighted tab text uses a bold font
        focusHighlighterEnabled - if true the currently focused tab is highlighted
        borderColor - 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 opaque
        shadowEnabled - shadow on/off
        highlightedBold - if true the highlighted tab text uses a bold font
        focusHighlighterEnabled - if true the currently focused tab is highlighted
        borderColor - the border color
        tabAreaBackgroundColor - the background color for the tab area and tabs in the normal state