org.apache.batik.swing.gvt
Class GVTTreeRendererEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.batik.swing.gvt.GVTTreeRendererEvent
All Implemented Interfaces:
Serializable

public class GVTTreeRendererEvent
extends EventObject

This class represents an event which indicate an event originated from a GVTTreeRenderer instance.

See Also:
Serialized Form

Field Summary
protected  BufferedImage image
          The buffered image.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GVTTreeRendererEvent(Object source, BufferedImage bi)
          Creates a new GVTTreeRendererEvent.
 
Method Summary
 BufferedImage getImage()
          Returns the image to display, or null if the rendering failed.
 
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
 

Field Detail

image

protected BufferedImage image
The buffered image.

Constructor Detail

GVTTreeRendererEvent

public GVTTreeRendererEvent(Object source,
                            BufferedImage bi)
Creates a new GVTTreeRendererEvent.

Parameters:
source - the object that originated the event, ie. the GVTTreeRenderer.
bi - the image to paint.
Method Detail

getImage

public BufferedImage getImage()
Returns the image to display, or null if the rendering failed.



Copyright © 2008 Apache Software Foundation. All Rights Reserved.