org.apache.batik.gvt.event

Class GraphicsNodeChangeEvent

public class GraphicsNodeChangeEvent extends GraphicsNodeEvent

An event which indicates that a change action occurred on a graphics node.
Field Summary
protected GraphicsNodechangeSource
static intCHANGE_COMPLETED
The id for the "changeCompleted" event.
static intCHANGE_STARTED
The id for the "changeStarted" event.
Constructor Summary
GraphicsNodeChangeEvent(GraphicsNode source, int id)
Constructs a new graphics node event with the specified source and ID.
Method Summary
GraphicsNodegetChangeSrc()
voidsetChangeSrc(GraphicsNode gn)

Field Detail

changeSource

protected GraphicsNode changeSource

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).

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).

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 originated id the id of this event

Method Detail

getChangeSrc

public GraphicsNode getChangeSrc()

setChangeSrc

public void setChangeSrc(GraphicsNode gn)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.