bibliothek.extension.gui.dock.theme.eclipse
Class RectEclipseBorder
java.lang.Object
bibliothek.extension.gui.dock.theme.eclipse.RectEclipseBorder
- All Implemented Interfaces:
- Border
public class RectEclipseBorder
- extends Object
- implements Border
This border paints a thin line. At the bottom, two hard edges are painted,
at the top the line makes a little curve.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RectEclipseBorder
public RectEclipseBorder(DockController controller,
boolean fillEdges)
- Creates a new border.
- Parameters:
controller
- the controller for which this border will be usedfillEdges
- whether the top edges should be filled with the
background color or let empty.
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder
in interface Border
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets
in interface Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface Border