|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IModifiableChildCompoundGraph<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
Method Summary | |
---|---|
boolean |
canCopyHere(ISubCompoundGraph<? extends N,? extends E> subgraph)
Tests whether the subGraph can be copied to this graph. |
boolean |
canMoveHere(ISubCompoundGraph<? extends N,? extends E> subGraph)
Tests whether the subGraph can be moved to this graph. |
void |
copyHere(ISubCompoundGraph<? extends N,? extends E> subgraph)
Copies a subgraph into this graph. |
ICompoundChildEdgeFactory<N,E> |
edgeFactory()
Gets the edgeFactory for this class. |
ISubCompoundGraph<N,E> |
getCopiedComponents()
Retrieves the nodes and edges created in this graph by the last copy operation. |
ISubCompoundGraph<N,E> |
getMovedComponents()
Retrieves the nodes and edges created in this graph by the last copy operation. |
void |
moveHere(ISubCompoundGraph<? extends N,? extends E> subGraph)
Moves a subgraph into this graph. |
ICompoundNodeFactory<N,E> |
nodeFactory()
|
Method Detail |
---|
ICompoundNodeFactory<N,E> nodeFactory()
boolean canCopyHere(ISubCompoundGraph<? extends N,? extends E> subgraph)
subGraph
- the subgraph to test, can be null.
void copyHere(ISubCompoundGraph<? extends N,? extends E> subgraph)
subGraph
- the subgraph to copyISubCompoundGraph<N,E> getCopiedComponents()
ICompoundChildEdgeFactory<N,E> edgeFactory()
boolean canMoveHere(ISubCompoundGraph<? extends N,? extends E> subGraph)
subGraph
can be children
of this child compound graph.
subGraph
- the subgraph to test, can be null.
void moveHere(ISubCompoundGraph<? extends N,? extends E> subGraph)
subGraph
.
The new nodes from the move can be found in getMovedComponents()
and the removed nodes will be found in subGraph
.
subGraph
- the subgraph to move.
java.lang.IllegalArgumentException
- if canMoveHere(subGraph) == false
.ISubCompoundGraph<N,E> getMovedComponents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |