public class GradientTabAreaBorder
extends java.lang.Object
implements javax.swing.border.Border, java.io.Serializable
| Constructor and Description |
|---|
GradientTabAreaBorder(java.awt.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(java.awt.Color topColor,
java.awt.Color bottomColor)
Constructor.
|
GradientTabAreaBorder(ColorProvider topColorProvider,
ColorProvider bottomColorProvider)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component component,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public GradientTabAreaBorder(java.awt.Color topColor)
topColor - the color of the component edge opposite to the tabbed panel content panelpublic GradientTabAreaBorder(java.awt.Color topColor,
java.awt.Color bottomColor)
topColor - the color of the component edge opposite to the tabbed panel content panelbottomColor - the color of the component edge closest to the tabbed panel content panelpublic GradientTabAreaBorder(ColorProvider topColorProvider, ColorProvider bottomColorProvider)
topColorProvider - provides the color of the component edge opposite to the tabbed panel content panelbottomColorProvider - provides the color of the component edge closest to the tabbed panel content panelpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Borderpublic void paintBorder(java.awt.Component component,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.Borderpublic java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.Border