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:
- javax.swing.border.Border
@ColorCodes(value="flap.button.border.edges")
public class EclipseButtonBorder
- extends AbstractEclipseBorder
A Border
used by the EclipseButtonTitle
.
- Author:
- Benjamin Sigg
Method Summary |
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
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(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)