Package weka.gui.beans
Class ImageEvent
java.lang.Object
java.util.EventObject
weka.gui.beans.ImageEvent
- All Implemented Interfaces:
Serializable
Event that encapsulates an Image
- Version:
- $Revision: 10882 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
-
Constructor Summary
ConstructorDescriptionImageEvent
(Object source, BufferedImage image) Construct a new ImageEventImageEvent
(Object source, BufferedImage image, String imageName) Construct an ImageEvent -
Method Summary
Modifier and TypeMethodDescriptiongetImage()
Get the encapsulated imageGet the name of the imageMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ImageEvent
Construct a new ImageEvent- Parameters:
source
- the source of this eventimage
- the image to encapsulate
-
ImageEvent
Construct an ImageEvent- Parameters:
source
- the source of this eventimage
- the image to encapsulateimageName
- the name of the image
-
-
Method Details
-
getImage
Get the encapsulated image- Returns:
- the encapsulated image
-
getImageName
Get the name of the image- Returns:
-