public class OwnedRectEclipseBorder extends RectEclipseBorder
RectEclipseBorder
painting round edges at the side at which tabs are
painted.BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT
Constructor and Description |
---|
OwnedRectEclipseBorder(BorderedComponent owner,
DockController controller,
boolean fillEdges)
Creates a new border.
|
Modifier and Type | Method and Description |
---|---|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
getBorderInsets, isBorderOpaque, setRoundEdges
public OwnedRectEclipseBorder(BorderedComponent owner, DockController controller, boolean fillEdges)
owner
- the component which paints this bordercontroller
- the controller in whose realm this border worksfillEdges
- whether to paint the edges opaquepublic void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class RectEclipseBorder