bibliothek.gui.dock.station.toolbar
Class ToolbarLineBorder
java.lang.Object
bibliothek.gui.dock.station.toolbar.ToolbarLineBorder
- All Implemented Interfaces:
- Border
public class ToolbarLineBorder
- extends Object
- implements Border
A Border
used by ToolbarDockableDisplayer
to paint lines at all sides
except the side at which there is a title.
- Author:
- Benjamin Sigg
Constructor Summary |
ToolbarLineBorder(bibliothek.gui.dock.themes.basic.BasicDockableDisplayer displayer)
Creates a new border. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolbarLineBorder
public ToolbarLineBorder(bibliothek.gui.dock.themes.basic.BasicDockableDisplayer displayer)
- Creates a new border.
- Parameters:
displayer
- the displayer using this border
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