|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.kzoo.grid.display.ScaledDisplay | +--edu.kzoo.grid.display.ScaledImageDisplay | +--edu.kzoo.grid.display.TintedImageDisplay
Grid Display Package:
A TintedImageDisplay
displays an object as a
tinted image in a grid.
Constructor Summary | |
TintedImageDisplay(java.lang.String imageFilename)
Constructs an object that knows how to display a tinted image. |
Method Summary | |
void |
adjust(GridObject obj,
java.awt.Component comp,
java.awt.Graphics2D g2)
Adjusts the graphics system for drawing a tinted image. |
Methods inherited from class edu.kzoo.grid.display.ScaledImageDisplay |
draw, tint |
Methods inherited from class edu.kzoo.grid.display.ScaledDisplay |
draw |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TintedImageDisplay(java.lang.String imageFilename)
imageFilename
- name of file containing imageMethod Detail |
public void adjust(GridObject obj, java.awt.Component comp, java.awt.Graphics2D g2)
adjust
in class ScaledImageDisplay
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |