Cytoscape 2.6.3 (c) 2006,2007 ISB, MSKCC, UCSD

giny.model
Class RootGraphChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by giny.model.RootGraphChangeEvent
All Implemented Interfaces:
Serializable

public abstract class RootGraphChangeEvent
extends EventObject

The event source must be the RootGraph that changed.

See Also:
Serialized Form

Field Summary
static int EDGES_CREATED_TYPE
           
static int EDGES_REMOVED_TYPE
           
static int NODES_CREATED_TYPE
           
static int NODES_REMOVED_TYPE
           
 
Constructor Summary
RootGraphChangeEvent(RootGraph source)
           
 
Method Summary
abstract  int[] getCreatedEdgeIndices()
           
abstract  Edge[] getCreatedEdges()
           
abstract  int[] getCreatedNodeIndices()
           
abstract  Node[] getCreatedNodes()
           
abstract  int[] getRemovedEdgeIndices()
           
abstract  Edge[] getRemovedEdges()
          Deprecated. Use getRemovedEdgeIndices() instead; the edges returned by this method may have undefined state.
abstract  int[] getRemovedNodeIndices()
           
abstract  Node[] getRemovedNodes()
          Deprecated. Use getRemovedNodeIndices() instead; the nodes returned by this method may have undefined state.
abstract  int getType()
           
abstract  boolean isEdgesCreatedType()
           
abstract  boolean isEdgesRemovedType()
           
abstract  boolean isNodesCreatedType()
           
abstract  boolean isNodesRemovedType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODES_CREATED_TYPE

public static final int NODES_CREATED_TYPE
See Also:
Constant Field Values

EDGES_CREATED_TYPE

public static final int EDGES_CREATED_TYPE
See Also:
Constant Field Values

NODES_REMOVED_TYPE

public static final int NODES_REMOVED_TYPE
See Also:
Constant Field Values

EDGES_REMOVED_TYPE

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

RootGraphChangeEvent

public RootGraphChangeEvent(RootGraph source)
Method Detail

getType

public abstract int getType()

isNodesCreatedType

public abstract boolean isNodesCreatedType()

isEdgesCreatedType

public abstract boolean isEdgesCreatedType()

isNodesRemovedType

public abstract boolean isNodesRemovedType()

isEdgesRemovedType

public abstract boolean isEdgesRemovedType()

getCreatedNodes

public abstract Node[] getCreatedNodes()

getCreatedEdges

public abstract Edge[] getCreatedEdges()

getRemovedNodes

public abstract Node[] getRemovedNodes()
Deprecated. Use getRemovedNodeIndices() instead; the nodes returned by this method may have undefined state.

See Also:
getRemovedNodeIndices()

getRemovedEdges

public abstract Edge[] getRemovedEdges()
Deprecated. Use getRemovedEdgeIndices() instead; the edges returned by this method may have undefined state.

See Also:
getRemovedEdgeIndices()

getCreatedNodeIndices

public abstract int[] getCreatedNodeIndices()

getCreatedEdgeIndices

public abstract int[] getCreatedEdgeIndices()

getRemovedNodeIndices

public abstract int[] getRemovedNodeIndices()

getRemovedEdgeIndices

public abstract int[] getRemovedEdgeIndices()

www.cytoscape.org