edu.kzoo.grid.display
Class ScaledImageTintDecorator

java.lang.Object
  |
  +--edu.kzoo.grid.display.ScaledImageTintDecorator
All Implemented Interfaces:
DisplayDecorator

public class ScaledImageTintDecorator
extends java.lang.Object
implements DisplayDecorator

Grid Display Package:
A tinting decorator for a ScaledImageDisplay. The associated object must have a Color.

Version:
28 July 2004
Author:
Joel Booth

Constructor Summary
ScaledImageTintDecorator()
           
 
Method Summary
 void decorate(ScaledDisplay sd, GridObject obj, java.awt.Component comp, java.awt.Graphics2D g2)
          Decorate the ScaledImageDisplay so that it appears tinted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaledImageTintDecorator

public ScaledImageTintDecorator()
Method Detail

decorate

public void decorate(ScaledDisplay sd,
                     GridObject obj,
                     java.awt.Component comp,
                     java.awt.Graphics2D g2)
Decorate the ScaledImageDisplay so that it appears tinted.

Specified by:
decorate in interface DisplayDecorator