public class ImageEvent
extends java.util.EventObject
Constructor and Description |
---|
ImageEvent(java.lang.Object source,
java.awt.image.BufferedImage image)
Construct a new ImageEvent
|
ImageEvent(java.lang.Object source,
java.awt.image.BufferedImage image,
java.lang.String imageName)
Construct an ImageEvent
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
getImage()
Get the encapsulated image
|
java.lang.String |
getImageName()
Get the name of the image
|
public ImageEvent(java.lang.Object source, java.awt.image.BufferedImage image)
source
- the source of this eventimage
- the image to encapsulatepublic ImageEvent(java.lang.Object source, java.awt.image.BufferedImage image, java.lang.String imageName)
source
- the source of this eventimage
- the image to encapsulateimageName
- the name of the image