JideTabbedPane.GradientColorProvider
public static interface JideTabbedPane.ColorProvider
Modifier and Type | Method | Description |
---|---|---|
Color |
getBackgroundAt(int tabIndex) |
Gets the tab background for the tab at the specified index.
|
Color |
getForegroundAt(int tabIndex) |
Gets the tab foreground for the tab at the specified index.
|
float |
getGradientRatio(int tabIndex) |
Gets the gradient ratio.
|
Color getBackgroundAt(int tabIndex)
tabIndex
- the index of the tabColor getForegroundAt(int tabIndex)
tabIndex
- the index of the tabfloat getGradientRatio(int tabIndex)
tabIndex
- the index of the tab