|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
net.infonode.tabbedpanel.theme.GradientTheme
A theme that draws gradient tab backgrounds.
| Field Summary | |
static Color |
DEFAULT_TAB_AREA_BACKGROUND_COLOR
The tab area background color used if no color is specified in the constructor. |
| Constructor Summary | |
GradientTheme()
Creates a default theme with transparent tab area and shadows. |
|
GradientTheme(boolean opaqueTabArea,
boolean shadowEnabled)
Constructor. |
|
GradientTheme(boolean opaqueTabArea,
boolean shadowEnabled,
Color borderColor)
Constructor. |
|
GradientTheme(boolean opaqueTabArea,
boolean shadowEnabled,
Color borderColor,
Color tabAreaBackgroundColor)
Constructor. |
|
| Method Summary | |
Border |
getHighlightedTabGradientBorder()
Returns the gradient border for the highlighted tab. |
String |
getName()
Gets the name for this theme |
Border |
getNormalTabGradientBorder()
Returns the gradient border for the normal tab or the tab area if it's opaque. |
Border |
getTabAreaComponentsGradientBorder()
Returns the gradient border for the tab area components. |
TabbedPanelProperties |
getTabbedPanelProperties()
Gets the TabbedPanelProperties for this theme |
TitledTabProperties |
getTitledTabProperties()
Gets the TitledTabProperties for this theme |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Color DEFAULT_TAB_AREA_BACKGROUND_COLOR
| Constructor Detail |
public GradientTheme()
public GradientTheme(boolean opaqueTabArea,
boolean shadowEnabled)
opaqueTabArea - if true a gradient background is drawn for the tab area, otherwise it's transparentshadowEnabled - if true the shadow is enabled
public GradientTheme(boolean opaqueTabArea,
boolean shadowEnabled,
Color borderColor)
opaqueTabArea - if true a gradient background is drawn for the tab area, otherwise it's transparentshadowEnabled - if true the shadow is enabledborderColor - the border color, null means default border color
public GradientTheme(boolean opaqueTabArea,
boolean shadowEnabled,
Color borderColor,
Color tabAreaBackgroundColor)
opaqueTabArea - if true a gradient background is drawn for the tab area, otherwise it's transparentshadowEnabled - if true the shadow is enabledborderColor - the border color, null means default border colortabAreaBackgroundColor - the background color for the tab area and normal tabs, null means use the default tab
background| Method Detail |
public String getName()
getName in class TabbedPanelTitledTabThemepublic TitledTabProperties getTitledTabProperties()
TabbedPanelTitledTabTheme
getTitledTabProperties in class TabbedPanelTitledTabThemepublic TabbedPanelProperties getTabbedPanelProperties()
TabbedPanelTitledTabTheme
getTabbedPanelProperties in class TabbedPanelTitledTabThemepublic Border getHighlightedTabGradientBorder()
public Border getTabAreaComponentsGradientBorder()
public Border getNormalTabGradientBorder()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||