@ColorCodes(value={"flap.button.border.edges","flap.button.border.inner","flap.button.border.outer"}) public class EclipseButtonBorder extends AbstractEclipseBorder
Border used by the EclipseButtonTitle.BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
EclipseButtonBorder(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 EclipseButtonBorder(DockController controller, boolean fillEdges, int edges)
controller - the controller in whose realm this border is usedfillEdges - whether to fill the edges with a coloredges - which edges to paint round, a bitwise or of the constants defined in AbstractEclipseBorderCopyright © 2017 Docking Frames. All rights reserved.