com.limegroup.gnutella.gui.search
Class Ditherer

java.lang.Object
  extended bycom.limegroup.gnutella.gui.search.Ditherer
All Implemented Interfaces:
ThemeObserver

public final class Ditherer
extends java.lang.Object
implements ThemeObserver

Optimized class to draw vertical fades from one color to another.


Method Summary
 void draw(java.awt.Graphics g, int height, int width)
          Draws the requested fade to g, with the given width and height.
 void updateTheme()
          Update any required theme settings, such as colors or images.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateTheme

public void updateTheme()
Description copied from interface: ThemeObserver
Update any required theme settings, such as colors or images.

Specified by:
updateTheme in interface ThemeObserver

draw

public void draw(java.awt.Graphics g,
                 int height,
                 int width)
Draws the requested fade to g, with the given width and height.