net.groboclown.gui.paintpipe.v1
Class ImageDoneEvent

java.lang.Object
  |
  +--net.groboclown.gui.paintpipe.v1.ImageDoneEvent
All Implemented Interfaces:
PaintEvent

public class ImageDoneEvent
extends Object
implements PaintEvent

Announces that a particular image has completed its drawing.

Version:
1.0
Author:
Matt Albrecht

Field Summary
 int frameNum
           
 int height
           
 Image img
           
 int posx
           
 int posy
           
 boolean resize
           
 int width
           
 int zorder
           
 
Constructor Summary
ImageDoneEvent()
           
ImageDoneEvent(Image i, int z)
           
ImageDoneEvent(Image i, int z, int x, int y)
           
ImageDoneEvent(Image i, int z, int x, int y, int width, int height)
           
 
Method Summary
 int getFrameNumber()
          Retrieves the current frame number for the event.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

img

public Image img

frameNum

public int frameNum

posx

public int posx

posy

public int posy

resize

public boolean resize

width

public int width

height

public int height

zorder

public int zorder
Constructor Detail

ImageDoneEvent

public ImageDoneEvent()

ImageDoneEvent

public ImageDoneEvent(Image i,
                      int z)

ImageDoneEvent

public ImageDoneEvent(Image i,
                      int z,
                      int x,
                      int y)

ImageDoneEvent

public ImageDoneEvent(Image i,
                      int z,
                      int x,
                      int y,
                      int width,
                      int height)
Method Detail

getFrameNumber

public int getFrameNumber()
Description copied from interface: PaintEvent
Retrieves the current frame number for the event.
Specified by:
getFrameNumber in interface PaintEvent


Written under the LGPL