Package com.jidesoft.swing
Interface JideTabbedPane.GradientColorProvider
- All Superinterfaces:
JideTabbedPane.ColorProvider
- Enclosing class:
JideTabbedPane
A ColorProvider that can supports gradient tab background. The ColorProvider can also do gradient but the other
color has to be be a lighter or darker version of the color of getBackgroundAt. GradientColorProvider allows you
to specify an independent color as the start color.
-
Method Summary
Modifier and TypeMethodDescriptiongetTopBackgroundAt
(int tabIndex) Gets the tab background at the top (or other direction depending on the tab placement) of the tab.Methods inherited from interface com.jidesoft.swing.JideTabbedPane.ColorProvider
getBackgroundAt, getForegroundAt, getGradientRatio
-
Method Details
-
getTopBackgroundAt
Gets the tab background at the top (or other direction depending on the tab placement) of the tab. The JideTabbedPaneUI will paint a gradient using this color and the color of getBackgroundAt.- Parameters:
tabIndex
- the index of the tab- Returns:
- the top background color.
-