|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.util.GraphCopier.GraphDataCopyFactory y.layout.LayoutGraphCopyFactory.HierarchicGraphCopyFactory
public static class LayoutGraphCopyFactory.HierarchicGraphCopyFactory
An implementation of the copy factory interface used by GraphCopier
that can be used by implementations of LayoutGraph
that are hierarchically grouped
using GroupingKeys
.
Constructor Summary | |
---|---|
LayoutGraphCopyFactory.HierarchicGraphCopyFactory()
|
|
LayoutGraphCopyFactory.HierarchicGraphCopyFactory(GraphCopier.CopyFactory delegatingFactory)
|
Method Summary | |
---|---|
protected void |
copyData(Node src,
Node dst)
Empty stub to be overwritten by subclass implementations. |
protected Object |
createNodeId(Object srcId,
Node dst)
Factory method that creates an id for the given node. |
protected void |
postCopyData(Graph src,
Graph dst,
Map nodeMap,
Map edgeMap)
Empty stub to be overwritten by subclass implementations. |
protected void |
preCopyData(Graph src,
Graph dst)
Empty stub to be overwritten by subclass implementations. |
Methods inherited from class y.util.GraphCopier.GraphDataCopyFactory |
---|
copyData, copyEdge, copyNode, createGraph, postCopyGraphData, preCopyGraphData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutGraphCopyFactory.HierarchicGraphCopyFactory()
public LayoutGraphCopyFactory.HierarchicGraphCopyFactory(GraphCopier.CopyFactory delegatingFactory)
Method Detail |
---|
protected void preCopyData(Graph src, Graph dst)
GraphCopier.GraphDataCopyFactory
preCopyData
in class GraphCopier.GraphDataCopyFactory
protected void postCopyData(Graph src, Graph dst, Map nodeMap, Map edgeMap)
GraphCopier.GraphDataCopyFactory
postCopyData
in class GraphCopier.GraphDataCopyFactory
nodeMap
- a Map that maps old node instances to their new copiesedgeMap
- a Map that maps old edge instances to their new copiesprotected void copyData(Node src, Node dst)
GraphCopier.GraphDataCopyFactory
copyData
in class GraphCopier.GraphDataCopyFactory
src
- the old entitydst
- the new entityprotected Object createNodeId(Object srcId, Node dst)
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |