Package org.apache.batik.gvt.event
Class GraphicsNodeChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.batik.gvt.event.GraphicsNodeEvent
-
- org.apache.batik.gvt.event.GraphicsNodeChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class GraphicsNodeChangeEvent extends GraphicsNodeEvent
An event which indicates that a change action occurred on a graphics node.- Version:
- $Id: GraphicsNodeChangeEvent.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCHANGE_COMPLETEDThe id for the "changeCompleted" event.(package private) static intCHANGE_FIRSTThe first number in the range of ids used for change events.static intCHANGE_STARTEDThe id for the "changeStarted" event.protected GraphicsNodechangeSource-
Fields inherited from class org.apache.batik.gvt.event.GraphicsNodeEvent
id
-
-
Constructor Summary
Constructors Constructor Description GraphicsNodeChangeEvent(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 GraphicsNodegetChangeSrc()voidsetChangeSrc(GraphicsNode gn)-
Methods inherited from class org.apache.batik.gvt.event.GraphicsNodeEvent
consume, getGraphicsNode, getID, isConsumed
-
-
-
-
Field Detail
-
CHANGE_FIRST
static final int CHANGE_FIRST
The first number in the range of ids used for change events.- See Also:
- Constant Field Values
-
CHANGE_STARTED
public static final int CHANGE_STARTED
The id for the "changeStarted" event. This change event occurs when a change has started on a graphics node (but no changes have occured on the graphics node it's self).- See Also:
- Constant Field Values
-
CHANGE_COMPLETED
public static final int CHANGE_COMPLETED
The id for the "changeCompleted" event. This change event occurs when a change has completed on a graphics node (all changes have completed on the graphics node it's self).- See Also:
- Constant Field Values
-
changeSource
protected GraphicsNode changeSource
-
-
Constructor Detail
-
GraphicsNodeChangeEvent
public GraphicsNodeChangeEvent(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
-
setChangeSrc
public void setChangeSrc(GraphicsNode gn)
-
getChangeSrc
public GraphicsNode getChangeSrc()
-
-