Class ImageEvent

java.lang.Object
java.util.EventObject
weka.gui.beans.ImageEvent
All Implemented Interfaces:
Serializable

public class ImageEvent extends EventObject
Event that encapsulates an Image
Version:
$Revision: 10882 $
Author:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
See Also:
  • Constructor Details

    • ImageEvent

      public ImageEvent(Object source, BufferedImage image)
      Construct a new ImageEvent
      Parameters:
      source - the source of this event
      image - the image to encapsulate
    • ImageEvent

      public ImageEvent(Object source, BufferedImage image, String imageName)
      Construct an ImageEvent
      Parameters:
      source - the source of this event
      image - the image to encapsulate
      imageName - the name of the image
  • Method Details

    • getImage

      public BufferedImage getImage()
      Get the encapsulated image
      Returns:
      the encapsulated image
    • getImageName

      public String getImageName()
      Get the name of the image
      Returns: