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(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
getBorderInsets
getController, getRoundEdges, isBorderOpaque, isFillEdges, setFillEdges, setRoundEdges
public 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(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 EclipseBorder