bibliothek.extension.gui.dock.theme.eclipse
Class EclipseBorder
java.lang.Object
bibliothek.extension.gui.dock.theme.eclipse.AbstractEclipseBorder
bibliothek.extension.gui.dock.theme.eclipse.EclipseBorder
- All Implemented Interfaces:
- Border
- Direct Known Subclasses:
- OwnedEclipseBorder
@ColorCodes(value={"stack.border","stack.border.edges"})
public class EclipseBorder
- extends AbstractEclipseBorder
A border that has round edges.
- Author:
- Janni Kovacs, Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseBorder
public EclipseBorder(DockController controller,
boolean fillEdges)
- Creates a new border
- Parameters:
controller
- the owner of this borderfillEdges
- whether to paint over the edges
EclipseBorder
public EclipseBorder(DockController controller,
boolean fillEdges,
int edges)
- Creates a new border
- Parameters:
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_RIGHT
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
getBorderInsets
public Insets getBorderInsets(Component c)