com.jidesoft.swing
Interface JideTabbedPane.GradientColorProvider
- All Superinterfaces:
- JideTabbedPane.ColorProvider
- Enclosing class:
- JideTabbedPane
public static interface JideTabbedPane.GradientColorProvider
- extends JideTabbedPane.ColorProvider
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 indenpendent color as the start color.
Method Summary |
java.awt.Color |
getTopBackgroundAt(int tabIndex)
Gets the tab background at the top (or other direction depending on the tab placement) of the tab. |
getTopBackgroundAt
java.awt.Color getTopBackgroundAt(int tabIndex)
- 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.
- Returns:
- the top background color.