@ColorCodes(value={"stack.border","stack.border.edges"}) public class EclipseBorder extends AbstractEclipseBorder
BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
EclipseBorder(DockController controller,
boolean fillEdges)
Creates a new border
|
EclipseBorder(DockController controller,
boolean fillEdges,
int edges)
Creates a new border
|
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getController, getRoundEdges, isBorderOpaque, isFillEdges, setFillEdges, setRoundEdgespublic EclipseBorder(DockController controller, boolean fillEdges)
controller - the owner of this borderfillEdges - whether to paint over the edgespublic EclipseBorder(DockController controller, boolean fillEdges, int edges)
controller - the owner of this borderfillEdges - whether to paint over the edgesedges - the edges that are painted round, or-ed from AbstractEclipseBorder.TOP_LEFT,
AbstractEclipseBorder.TOP_RIGHT, AbstractEclipseBorder.BOTTOM_LEFT and AbstractEclipseBorder.BOTTOM_RIGHTCopyright © 2017 Docking Frames. All rights reserved.