glass.eclipse.theme
Class CGlassStripPainter
java.lang.Object
glass.eclipse.theme.CGlassStripPainter
- All Implemented Interfaces:
- bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter
@ColorCodes(value="stack.border.glass")
public class CGlassStripPainter
- extends java.lang.Object
- implements bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter
Paints the background of the tab by painting a glass background.
- Author:
- Thomas Hilbert
Constructor Summary |
CGlassStripPainter(bibliothek.extension.gui.dock.theme.eclipse.stack.EclipseTabPane pane)
Creates a new painter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CGlassStripPainter
public CGlassStripPainter(bibliothek.extension.gui.dock.theme.eclipse.stack.EclipseTabPane pane)
- Creates a new painter.
- Parameters:
tabbedComponent
- the component for which this painter will work
paint
public void paint(java.awt.Graphics g)
paintBackground
protected void paintBackground(java.awt.Graphics g,
int x,
int y,
int w,
int h,
boolean horizontal)
setController
public void setController(bibliothek.gui.DockController controller)
- Specified by:
setController
in interface bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter
paintBackground
public void paintBackground(java.awt.Graphics g)
- Specified by:
paintBackground
in interface bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter
paintForeground
public void paintForeground(java.awt.Graphics g)
- Specified by:
paintForeground
in interface bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter