|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.mebigfatguy.polycasso.ImageGeneratedEvent
public class ImageGeneratedEvent
an event object that is fired when a new test image has been found that is the best so far.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ImageGeneratedEvent(java.lang.Object source,
java.awt.Image image)
creates the event object with the source of the event as well as the image that is now the best image found. |
Method Summary | |
---|---|
java.awt.Image |
getImage()
retrieve the best image as described by this event |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageGeneratedEvent(java.lang.Object source, java.awt.Image image)
source
- the object that generated this event (an image generator)image
- the best image found so farMethod Detail |
---|
public java.awt.Image getImage()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |