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(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBorderInsets, isBorderOpaque, setRoundEdgespublic 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(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class RectEclipseBorderCopyright © 2017 Docking Frames. All rights reserved.