public class AbstractShapedBorderWrapper extends AbstractShapedBorder
Modifier | Constructor and Description |
---|---|
protected |
AbstractShapedBorderWrapper(ShapedBorder border) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Shape |
getShape(java.awt.Component c,
int x,
int y,
int width,
int height)
Gets the shape of this border.
|
boolean |
isBorderOpaque() |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
protected AbstractShapedBorderWrapper(ShapedBorder border)
public java.awt.Shape getShape(java.awt.Component c, int x, int y, int width, int height)
ShapedBorder
Gets the shape of this border.
c
- the component to create a shape forx
- the x offsety
- the y offsetwidth
- the widthheight
- the heightpublic java.awt.Insets getBorderInsets(java.awt.Component c)
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
public boolean isBorderOpaque()