giny.model
Class RootGraphChangeEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byginy.model.RootGraphChangeEvent
All Implemented Interfaces:
java.io.Serializable

public abstract class RootGraphChangeEvent
extends java.util.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 META_RELATIONSHIP_EDGES_CREATED_TYPE
           
static int META_RELATIONSHIP_EDGES_REMOVED_TYPE
           
static int META_RELATIONSHIP_NODES_CREATED_TYPE
           
static int META_RELATIONSHIP_NODES_REMOVED_TYPE
           
static int NODES_CREATED_TYPE
           
static int NODES_REMOVED_TYPE
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RootGraphChangeEvent(RootGraph source)
           
 
Method Summary
abstract  int[] getCreatedEdgeIndices()
           
abstract  Edge[] getCreatedEdges()
           
abstract  int[] getCreatedNodeIndices()
           
abstract  Node[] getCreatedNodes()
           
abstract  int[][] getMetaRelationshipCreatedEdgeIndices()
           
abstract  java.lang.Object[][] getMetaRelationshipCreatedEdges()
           
abstract  int[][] getMetaRelationshipCreatedNodeIndices()
           
abstract  Node[][] getMetaRelationshipCreatedNodes()
           
abstract  int[][] getMetaRelationshipRemovedEdgeIndices()
           
abstract  java.lang.Object[][] getMetaRelationshipRemovedEdges()
           
abstract  int[][] getMetaRelationshipRemovedNodeIndices()
           
abstract  Node[][] getMetaRelationshipRemovedNodes()
           
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 isMetaRelationshipEdgesCreatedType()
           
abstract  boolean isMetaRelationshipEdgesRemovedType()
           
abstract  boolean isMetaRelationshipNodesCreatedType()
           
abstract  boolean isMetaRelationshipNodesRemovedType()
           
abstract  boolean isNodesCreatedType()
           
abstract  boolean isNodesRemovedType()
           
 
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

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

META_RELATIONSHIP_NODES_CREATED_TYPE

public static final int META_RELATIONSHIP_NODES_CREATED_TYPE
See Also:
Constant Field Values

META_RELATIONSHIP_EDGES_CREATED_TYPE

public static final int META_RELATIONSHIP_EDGES_CREATED_TYPE
See Also:
Constant Field Values

META_RELATIONSHIP_NODES_REMOVED_TYPE

public static final int META_RELATIONSHIP_NODES_REMOVED_TYPE
See Also:
Constant Field Values

META_RELATIONSHIP_EDGES_REMOVED_TYPE

public static final int META_RELATIONSHIP_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()

isMetaRelationshipNodesCreatedType

public abstract boolean isMetaRelationshipNodesCreatedType()

isMetaRelationshipEdgesCreatedType

public abstract boolean isMetaRelationshipEdgesCreatedType()

isMetaRelationshipNodesRemovedType

public abstract boolean isMetaRelationshipNodesRemovedType()

isMetaRelationshipEdgesRemovedType

public abstract boolean isMetaRelationshipEdgesRemovedType()

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

getMetaRelationshipCreatedNodes

public abstract Node[][] getMetaRelationshipCreatedNodes()

getMetaRelationshipCreatedEdges

public abstract java.lang.Object[][] getMetaRelationshipCreatedEdges()

getMetaRelationshipRemovedNodes

public abstract Node[][] getMetaRelationshipRemovedNodes()

getMetaRelationshipRemovedEdges

public abstract java.lang.Object[][] getMetaRelationshipRemovedEdges()

getCreatedNodeIndices

public abstract int[] getCreatedNodeIndices()

getCreatedEdgeIndices

public abstract int[] getCreatedEdgeIndices()

getRemovedNodeIndices

public abstract int[] getRemovedNodeIndices()

getRemovedEdgeIndices

public abstract int[] getRemovedEdgeIndices()

getMetaRelationshipCreatedNodeIndices

public abstract int[][] getMetaRelationshipCreatedNodeIndices()

getMetaRelationshipCreatedEdgeIndices

public abstract int[][] getMetaRelationshipCreatedEdgeIndices()

getMetaRelationshipRemovedNodeIndices

public abstract int[][] getMetaRelationshipRemovedNodeIndices()

getMetaRelationshipRemovedEdgeIndices

public abstract int[][] getMetaRelationshipRemovedEdgeIndices()