net.infonode.tabbedpanel.border
public class GradientTabAreaBorder extends Object implements Border, Serializable
Since: ITP 1.1.0
Version: $Revision: 1.16 $
| Constructor Summary | |
|---|---|
| GradientTabAreaBorder(Color topColor)
Creates a border where the color of the component edge closest to the tabben panel content panel will be the
default control color.
| |
| GradientTabAreaBorder(Color topColor, Color bottomColor)
Constructor.
| |
| GradientTabAreaBorder(ColorProvider topColorProvider, ColorProvider bottomColorProvider)
Constructor.
| |
| Method Summary | |
|---|---|
| Insets | getBorderInsets(Component c) |
| boolean | isBorderOpaque() |
| void | paintBorder(Component component, Graphics g, int x, int y, int width, int height) |
Parameters: topColor the color of the component edge opposite to the tabbed panel content panel
Parameters: topColor the color of the component edge opposite to the tabbed panel content panel bottomColor the color of the component edge closest to the tabbed panel content panel
Parameters: topColorProvider provides the color of the component edge opposite to the tabbed panel content panel bottomColorProvider provides the color of the component edge closest to the tabbed panel content panel