| java.lang.Object net.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme net.infonode.tabbedpanel.theme.GradientTheme
GradientTheme | public class GradientTheme extends TabbedPanelTitledTabTheme (Code) | | A theme that draws gradient tab backgrounds.
author: $Author: jesper $ version: $Revision: 1.22 $ since: ITP 1.1.0 |
Constructor Summary | |
public | GradientTheme() Creates a default theme with transparent tab area and shadows. | public | GradientTheme(boolean opaqueTabArea, boolean shadowEnabled) Constructor. | public | GradientTheme(boolean opaqueTabArea, boolean shadowEnabled, Color borderColor) Constructor. | public | GradientTheme(boolean opaqueTabArea, boolean shadowEnabled, Color borderColor, Color tabAreaBackgroundColor) Constructor. |
DEFAULT_TAB_AREA_BACKGROUND_COLOR | final public static Color DEFAULT_TAB_AREA_BACKGROUND_COLOR(Code) | | The tab area background color used if no color is specified in the constructor.
|
GradientTheme | public GradientTheme()(Code) | | Creates a default theme with transparent tab area and shadows.
|
GradientTheme | public GradientTheme(boolean opaqueTabArea, boolean shadowEnabled)(Code) | | Constructor.
Parameters: opaqueTabArea - if true a gradient background is drawn for the tab area, otherwise it's transparent Parameters: shadowEnabled - if true the shadow is enabled |
GradientTheme | public GradientTheme(boolean opaqueTabArea, boolean shadowEnabled, Color borderColor)(Code) | | Constructor.
Parameters: opaqueTabArea - if true a gradient background is drawn for the tab area, otherwise it's transparent Parameters: shadowEnabled - if true the shadow is enabled Parameters: borderColor - the border color, null means default border color |
GradientTheme | public GradientTheme(boolean opaqueTabArea, boolean shadowEnabled, Color borderColor, Color tabAreaBackgroundColor)(Code) | | Constructor.
Parameters: opaqueTabArea - if true a gradient background is drawn for the tab area, otherwise it's transparent Parameters: shadowEnabled - if true the shadow is enabled Parameters: borderColor - the border color, null means default border color Parameters: tabAreaBackgroundColor - the background color for the tab area and normal tabs, null means use the default tabbackground |
getHighlightedTabGradientBorder | public Border getHighlightedTabGradientBorder()(Code) | | Returns the gradient border for the highlighted tab.
the gradient border for the highlighted tab |
getName | public String getName()(Code) | | Gets the name for this theme
the name |
getNormalTabGradientBorder | public Border getNormalTabGradientBorder()(Code) | | Returns the gradient border for the normal tab or the tab area if it's opaque.
the gradient border for the normal tab or the tab area if it's opaque |
getTabAreaComponentsGradientBorder | public Border getTabAreaComponentsGradientBorder()(Code) | | Returns the gradient border for the tab area components.
the gradient border for the tab area components |
|
|