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 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
Field Summary |
kux.glass.IGlassFactory.SGlassParameter |
glassStrip
|
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 |
glassStrip
public kux.glass.IGlassFactory.SGlassParameter glassStrip
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(Graphics g)
getGlassParameters
protected void getGlassParameters()
paintBackground
protected void paintBackground(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(Graphics g)
- Specified by:
paintBackground
in interface bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter
paintForeground
public void paintForeground(Graphics g)
- Specified by:
paintForeground
in interface bibliothek.extension.gui.dock.theme.eclipse.stack.tab.TabPanePainter