Generic Environment GUI Class Library

Class TintedImageDisplay

java.lang.Object
  |
  +--ScaledDisplay
        |
        +--ScaledImageDisplay
              |
              +--TintedImageDisplay
All Implemented Interfaces:
LocatableDisplay

public class TintedImageDisplay
extends ScaledImageDisplay

Environment-Based Applications:
A TintedImageDisplay displays an object as a tinted image in an environment.

Version:
1 November 2002

Constructor Summary
TintedImageDisplay(java.lang.String imageFilename)
          Constructs an object that knows how to display a tinted image.
 
Method Summary
 void adjust(Locatable obj, java.awt.Component comp, java.awt.Graphics2D g2)
          Adjusts the graphics system for drawing a tinted image.
 
Methods inherited from class ScaledImageDisplay
draw, tint
 
Methods inherited from class ScaledDisplay
draw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TintedImageDisplay

public TintedImageDisplay(java.lang.String imageFilename)
Constructs an object that knows how to display a tinted image.
Parameters:
imageFilename - name of file containing image
Method Detail

adjust

public void adjust(Locatable obj,
                   java.awt.Component comp,
                   java.awt.Graphics2D g2)
Adjusts the graphics system for drawing a tinted image.
Overrides:
adjust in class ScaledImageDisplay

Generic Environment GUI Class Library

Copyright© 2003 Alyce Brady