Class GraphicsNodeEvent
java.lang.Object
java.util.EventObject
org.apache.batik.gvt.event.GraphicsNodeEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GraphicsNodeChangeEvent, GraphicsNodeFocusEvent, GraphicsNodeInputEvent
-
Field Summary
FieldsFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionGraphicsNodeEvent(GraphicsNode source, int id) Constructs a new graphics node event with the specified source and ID. -
Method Summary
Modifier and TypeMethodDescriptionvoidconsume()Consumes this event so that it will not be processed in the default manner by the source which originated it.Returns the graphics node where the event is originated.intgetID()Returns the ID of this event.booleanReturns whether or not this event has been consumed.Methods inherited from class EventObject
getSource, toString
-
Field Details
-
id
protected int idThe ID of this event.
-
-
Constructor Details
-
GraphicsNodeEvent
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 Details
-
getID
public int getID()Returns the ID of this event. -
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.
-