public final class MetalPanelBorder extends AbstractBorder implements UIResource
The GNU General Public License for details.,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
BOTTOM |
private int |
flags |
private int |
insetBottom |
private int |
insetLeft |
private int |
insetRight |
private Insets |
insets |
private int |
insetTop |
static int |
LEFT |
static int |
RIGHT |
private static long |
serialVersionUID
Serialization ID
|
static int |
TOP |
| Constructor and Description |
|---|
MetalPanelBorder()
Default constructor.
|
MetalPanelBorder(int borderFlags)
Create a MetalPanelBorder instance where the border visbility (top, left,
bottom and right border) is controlled by the bit mask
borderFlags. |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h) |
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaquepublic static final int TOP
public static final int LEFT
public static final int BOTTOM
public static final int RIGHT
private int insetTop
private int insetLeft
private int insetBottom
private int insetRight
private int flags
private Insets insets
private static final long serialVersionUID
public MetalPanelBorder()
public MetalPanelBorder(int borderFlags)
borderFlags.borderFlags - Match flags, a bit mask that may include TOP, LEFT, BOTTOM,
and RIGHTpublic void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
paintBorder in interface BorderpaintBorder in class AbstractBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorder