Package org.apache.batik.gvt.event
Class GraphicsNodeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.batik.gvt.event.GraphicsNodeEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
GraphicsNodeChangeEvent
,GraphicsNodeFocusEvent
,GraphicsNodeInputEvent
public class GraphicsNodeEvent extends java.util.EventObject
A low-level event for GraphicsNode.- Version:
- $Id: GraphicsNodeEvent.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GraphicsNodeEvent(GraphicsNode source, int id)
Constructs a new graphics node event with the specified source and ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
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.
-
-