public class OwnedEclipseBorder extends EclipseBorder
BorderedComponent to
decide which side the tabs are at.BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
OwnedEclipseBorder(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) |
getBorderInsetsgetController, getRoundEdges, isBorderOpaque, isFillEdges, setFillEdges, setRoundEdgespublic OwnedEclipseBorder(BorderedComponent owner, DockController controller, boolean fillEdges)
owner - the component which paints this bordercontroller - to read properties about the environmentfillEdges - whether to fill the edges when paintingpublic void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class EclipseBorderCopyright © 2017 Docking Frames. All rights reserved.