bibliothek.extension.gui.dock.theme.eclipse
Class EclipseButtonBorder
java.lang.Object
bibliothek.extension.gui.dock.theme.eclipse.AbstractEclipseBorder
bibliothek.extension.gui.dock.theme.eclipse.EclipseButtonBorder
- All Implemented Interfaces:
- Border
@ColorCodes(value={"flap.button.border.edges","flap.button.border.inner","flap.button.border.outer"})
public class EclipseButtonBorder
- extends AbstractEclipseBorder
A Border
used by the EclipseButtonTitle
.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseButtonBorder
public EclipseButtonBorder(DockController controller,
boolean fillEdges,
int edges)
- Creates a new border
- Parameters:
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 AbstractEclipseBorder
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
getBorderInsets
public Insets getBorderInsets(Component c)