public class TabAreaLineBorder
extends java.lang.Object
implements javax.swing.border.Border, java.io.Serializable
Tab,
TabbedPanel,
TabbedPanelProperties,
TabAreaProperties,
TabAreaComponentsProperties,
Serialized Form| Constructor and Description |
|---|
TabAreaLineBorder()
Constructs a TabAreaLineBorder with color based on the look and feel
|
TabAreaLineBorder(boolean drawTop,
boolean drawLeft,
boolean drawRight,
boolean flipLeftRight)
Constructor.
|
TabAreaLineBorder(java.awt.Color color)
Constructs a TabAreaLineBorder with the give color
|
TabAreaLineBorder(java.awt.Color color,
boolean drawTop,
boolean drawLeft,
boolean drawRight,
boolean flipLeftRight)
Constructor.
|
TabAreaLineBorder(ColorProvider colorProvider,
boolean drawTop,
boolean drawLeft,
boolean drawRight,
boolean flipLeftRight)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public TabAreaLineBorder()
public TabAreaLineBorder(java.awt.Color color)
color - color for the borderpublic TabAreaLineBorder(boolean drawTop,
boolean drawLeft,
boolean drawRight,
boolean flipLeftRight)
drawTop - draw the top linedrawLeft - draw the left linedrawRight - draw the right lineflipLeftRight - if true the left line is rotated so that it is always to the left or at the top and
vice versa for the right line, if false the left and right lines are rotated the same way as
the other linespublic TabAreaLineBorder(java.awt.Color color,
boolean drawTop,
boolean drawLeft,
boolean drawRight,
boolean flipLeftRight)
color - the line colordrawTop - draw the top linedrawLeft - draw the left linedrawRight - draw the right lineflipLeftRight - if true the left line is rotated so that it is always to the left or at the top and
vice versa for the right line, if false the left and right lines are rotated the same way as
the other linespublic TabAreaLineBorder(ColorProvider colorProvider, boolean drawTop, boolean drawLeft, boolean drawRight, boolean flipLeftRight)
colorProvider - the line color providerdrawTop - draw the top linedrawLeft - draw the left linedrawRight - draw the right lineflipLeftRight - if true the left line is rotated so that it is always to the left or at the top and
vice versa for the right line, if false the left and right lines are rotated the same way as
the other linespublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Borderpublic void paintBorder(java.awt.Component c,
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