|
|||||||||||
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.RotatedImageDisplay | +--edu.kzoo.grid.display.RotatedTintedImageDisplay
Grid Display Package:
A RotatedTintedImageDisplay
displays an object as a tinted image
in a grid. The orientation (direction) of the image depends
on the orientation (direction) of the object in the grid.
Constructor Summary | |
RotatedTintedImageDisplay(java.lang.String imageFilename,
Direction dir)
Constructs an object that knows how to display a rotatable tinted image. |
Method Summary | |
void |
adjust(GridObject obj,
java.awt.Component comp,
java.awt.Graphics2D g2)
Adjusts the graphics system for drawing a rotated tinted image. |
Methods inherited from class edu.kzoo.grid.display.RotatedImageDisplay |
adjustForDirection |
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 RotatedTintedImageDisplay(java.lang.String imageFilename, Direction dir)
imageFilename
- name of file containing imagedir
- direction object in image is facingMethod Detail |
public void adjust(GridObject obj, java.awt.Component comp, java.awt.Graphics2D g2)
obj
has a direction
method.)
adjust
in class RotatedImageDisplay
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |