|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.tabbedpanel.border.GradientTabAreaBorder
Paints a gradient background for a tab area component. The background blends from one color on the component edge opposite to the tabbed panel content panel to the another color on the component edge closest to the tabbed panel content panel.
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GradientTabAreaBorder(Color topColor)
topColor
- the color of the component edge opposite to the tabbed panel content panelpublic GradientTabAreaBorder(Color topColor, 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 panelMethod Detail |
public boolean isBorderOpaque()
isBorderOpaque
in interface Border
public void paintBorder(Component component, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |