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