org.apache.batik.gvt.event
Class GraphicsNodeEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.apache.batik.gvt.event.GraphicsNodeEvent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- CompositeGraphicsNodeEvent, GraphicsNodeInputEvent, GraphicsNodePaintEvent
- public class GraphicsNodeEvent
- extends java.util.EventObject
- implements java.lang.Cloneable
A low-level event for GraphicsNode.
- See Also:
- Serialized Form
Field Summary |
protected int |
id
The ID of this event. |
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.Object |
clone()
|
void |
consume()
Consumes this event so that it will not be processed
in the default manner by the source which originated it. |
GraphicsNode |
getGraphicsNode()
Returns the graphics node where the event is originated. |
int |
getID()
Returns the ID of this event. |
boolean |
isConsumed()
Returns whether or not this event has been consumed. |
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 |
id
protected int id
- The ID of this event.
GraphicsNodeEvent
public GraphicsNodeEvent(GraphicsNode source,
int id)
- Constructs a new graphics node event with the specified source and ID.
- Parameters:
source
- the graphics node where the event originatedid
- the id of this event
getID
public int getID()
- Returns the ID of this event.
getGraphicsNode
public GraphicsNode getGraphicsNode()
- Returns the graphics node where the event is originated.
consume
public void consume()
- Consumes this event so that it will not be processed
in the default manner by the source which originated it.
isConsumed
public boolean isConsumed()
- Returns whether or not this event has been consumed.
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
Copyright © 2000 Apache Software Foundation. All Rights Reserved.