org.apache.batik.gvt.event
Class CompositeGraphicsNodeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.apache.batik.gvt.event.GraphicsNodeEvent
|
+--org.apache.batik.gvt.event.CompositeGraphicsNodeEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class CompositeGraphicsNodeEvent
- extends GraphicsNodeEvent
A low-level event which indicates that a composite graphics node's contents
changed because a graphics node was added or removed.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
GRAPHICS_NODE_ADDED
public static final int GRAPHICS_NODE_ADDED
- The id for the "graphicsNodeAdded" event.
GRAPHICS_NODE_REMOVED
public static final int GRAPHICS_NODE_REMOVED
- The id for the "graphicsNodeRemoved" event.
CompositeGraphicsNodeEvent
public CompositeGraphicsNodeEvent(GraphicsNode source,
int id,
GraphicsNode child)
- Constructs a new composite graphics node.
- Parameters:
source
- the graphics node where the event originatedid
- the id of this eventchild
- the graphics node that was added or removed
getChild
public GraphicsNode getChild()
- Returns the graphics node that was affected by the event.
- Returns:
- the graphics node that was added or removed
getCompositeGraphicsNode
public CompositeGraphicsNode getCompositeGraphicsNode()
- Returns the originator of the event.
- Returns:
- the CompositeGraphicsNode that originated the event
Copyright © 2001 Apache Software Foundation. All Rights Reserved.