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 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.
 
Method Summary
protected  void getGlassParameters()
           
 void paint(Graphics g)
           
 void paintBackground(Graphics g)
           
protected  void paintBackground(Graphics g, int x, int y, int w, int h, boolean horizontal)
           
 void paintForeground(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
 

Field Detail

glassStrip

public kux.glass.IGlassFactory.SGlassParameter glassStrip
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(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