org.apache.batik.gvt.event
Class GraphicsNodePaintEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.apache.batik.gvt.event.GraphicsNodeEvent
|
+--org.apache.batik.gvt.event.GraphicsNodePaintEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class GraphicsNodePaintEvent
- extends GraphicsNodeEvent
An event which indicates that a modification occurred in a graphics
node. The node has to be repainted.
- See Also:
- Serialized Form
Field Summary |
static int |
GRAPHICS_NODE_MODIFIED
The id for the "graphicsNodeModified" event. |
protected java.awt.geom.Rectangle2D |
oldBounds
The old bounds of the source. |
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.awt.geom.Rectangle2D |
getOldBounds()
Returns the old bounds of the modified graphics node. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GRAPHICS_NODE_MODIFIED
public static final int GRAPHICS_NODE_MODIFIED
- The id for the "graphicsNodeModified" event.
oldBounds
protected java.awt.geom.Rectangle2D oldBounds
- The old bounds of the source.
GraphicsNodePaintEvent
public GraphicsNodePaintEvent(GraphicsNode source,
int id,
java.awt.geom.Rectangle2D oldBounds)
- Constructs a new graphics node paint event.
- Parameters:
source
- the graphics node where the event originatedid
- the id of this eventoldBounds
- the old bounds of the graphics node
getOldBounds
public java.awt.geom.Rectangle2D getOldBounds()
- Returns the old bounds of the modified graphics node.
Copyright © 2000 Apache Software Foundation. All Rights Reserved.