JIDE 3.5.15

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 independent color as the start color.


Method Summary
 Color getTopBackgroundAt(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 Detail

getTopBackgroundAt

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.

Parameters:
tabIndex - the index of the tab
Returns:
the top background color.

JIDE 3.5.15