public class GraphicsNodeEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
protected int |
id
The ID of this event.
|
Constructor and Description |
---|
GraphicsNodeEvent(GraphicsNode source,
int id)
Constructs a new graphics node event with the specified source and ID.
|
Modifier and Type | Method and 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.
|
public GraphicsNodeEvent(GraphicsNode source, int id)
source
- the graphics node where the event originatedid
- the id of this eventpublic int getID()
public GraphicsNode getGraphicsNode()
public void consume()
public boolean isConsumed()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.