|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.util.GraphCopier.GraphDataCopyFactory
y.view.Graph2DCopyFactory.HierarchicGraph2DCopyFactory
public static class Graph2DCopyFactory.HierarchicGraph2DCopyFactory
A copy factory implementation that copies hierarchy information to a newly created Graph2D.
| Constructor Summary | |
|---|---|
Graph2DCopyFactory.HierarchicGraph2DCopyFactory()
Creates a new instances that delegates the actual creation to a Graph2DCopyFactory |
|
Graph2DCopyFactory.HierarchicGraph2DCopyFactory(GraphCopier.CopyFactory delegatingFactory)
Creates a new instances that delegates the actual creation to the given factory. |
|
| Method Summary | |
|---|---|
protected void |
copyData(Edge src,
Edge dst)
Empty stub to be overwritten by subclass implementations. |
protected void |
copyData(Node src,
Node dst)
Empty stub to be overwritten by subclass implementations. |
void |
postCopyGraphData(Graph src,
Graph newGraph,
Map nodeMap,
Map edgeMap)
Calls the delegate and then GraphCopier.GraphDataCopyFactory.postCopyData(y.base.Graph,y.base.Graph,java.util.Map,java.util.Map). |
protected void |
preCopyData(Graph src,
Graph dst)
Empty stub to be overwritten by subclass implementations. |
| Methods inherited from class y.util.GraphCopier.GraphDataCopyFactory |
|---|
copyEdge, copyNode, createGraph, postCopyData, preCopyGraphData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Graph2DCopyFactory.HierarchicGraph2DCopyFactory()
Graph2DCopyFactory
public Graph2DCopyFactory.HierarchicGraph2DCopyFactory(GraphCopier.CopyFactory delegatingFactory)
| Method Detail |
|---|
protected void preCopyData(Graph src,
Graph dst)
GraphCopier.GraphDataCopyFactory
preCopyData in class GraphCopier.GraphDataCopyFactory
public void postCopyGraphData(Graph src,
Graph newGraph,
Map nodeMap,
Map edgeMap)
GraphCopier.GraphDataCopyFactoryGraphCopier.GraphDataCopyFactory.postCopyData(y.base.Graph,y.base.Graph,java.util.Map,java.util.Map).
postCopyGraphData in interface GraphCopier.CopyFactorypostCopyGraphData in class GraphCopier.GraphDataCopyFactorysrc - the graph that was used to copy the entities from.newGraph - the graph that was used to copy the entities to.nodeMap - a map that contains a mapping between the nodes in the source graph
to their corresponding nodes in the new graph.edgeMap - a map that contains a mapping between the edges in the source graph
to their corresponding edges in the new graph.
protected void copyData(Node src,
Node dst)
GraphCopier.GraphDataCopyFactory
copyData in class GraphCopier.GraphDataCopyFactorysrc - the old entitydst - the new entity
protected void copyData(Edge src,
Edge dst)
GraphCopier.GraphDataCopyFactory
copyData in class GraphCopier.GraphDataCopyFactorysrc - the old entitydst - the new entity
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||