org.globus.cog.gui.grapheditor.canvas
Class CanvasEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.globus.cog.gui.grapheditor.canvas.CanvasEvent
All Implemented Interfaces:
Serializable

public class CanvasEvent
extends EventObject

See Also:
Serialized Form

Field Summary
static int COMPONENT_ADDED
           
static int COMPONENT_REMOVED
           
static int INVALIDATE
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CanvasEvent(GraphCanvas source, int type)
           
CanvasEvent(GraphCanvas source, int type, GraphComponent component, Edge edge)
           
CanvasEvent(GraphCanvas source, int type, GraphComponent component, Node node)
           
CanvasEvent(GraphCanvas source, int type, GraphComponent component, Node node, Edge edge)
           
 
Method Summary
 GraphCanvas getCanvas()
           
 GraphComponent getComponent()
           
 Edge getEdge()
           
 Node getNode()
           
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALIDATE

public static final int INVALIDATE
See Also:
Constant Field Values

COMPONENT_ADDED

public static final int COMPONENT_ADDED
See Also:
Constant Field Values

COMPONENT_REMOVED

public static final int COMPONENT_REMOVED
See Also:
Constant Field Values
Constructor Detail

CanvasEvent

public CanvasEvent(GraphCanvas source,
                   int type)

CanvasEvent

public CanvasEvent(GraphCanvas source,
                   int type,
                   GraphComponent component,
                   Node node)

CanvasEvent

public CanvasEvent(GraphCanvas source,
                   int type,
                   GraphComponent component,
                   Edge edge)

CanvasEvent

public CanvasEvent(GraphCanvas source,
                   int type,
                   GraphComponent component,
                   Node node,
                   Edge edge)
Method Detail

getType

public int getType()

getCanvas

public GraphCanvas getCanvas()

getComponent

public GraphComponent getComponent()

getEdge

public Edge getEdge()

getNode

public Node getNode()