giny.model
Class RootGraphChangeEvent
java.lang.Object
java.util.EventObject
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
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
RootGraphChangeEvent
public RootGraphChangeEvent(RootGraph source)
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 Object[][] getMetaRelationshipCreatedEdges()
getMetaRelationshipRemovedNodes
public abstract Node[][] getMetaRelationshipRemovedNodes()
getMetaRelationshipRemovedEdges
public abstract 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()