glass.eclipse.theme
Class CGlassStripPainter

java.lang.Object
  extended by 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.
 
Method Summary
 void paint(java.awt.Graphics g)
           
 void paintBackground(java.awt.Graphics g)
           
protected  void paintBackground(java.awt.Graphics g, int x, int y, int w, int h, boolean horizontal)
           
 void paintForeground(java.awt.Graphics g)
           
 void setController(bibliothek.gui.DockController controller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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