Package | com.yworks.yfiles.util |
Class | public class GraphCopier_GraphDataCopyFactory |
Inheritance | GraphCopier_GraphDataCopyFactory YObject Object |
Implements | GraphCopier_CopyFactory |
Subclasses | GraphCopier_DataProviderCopyFactory, GraphCopier_EdgeMapCopyFactory, GraphCopier_NodeMapCopyFactory, LayoutGraphCopyFactory_HierarchicGraphCopyFactory |
See also
Method | Defined By | ||
---|---|---|---|
GraphCopier_GraphDataCopyFactory(delegatingFactory:GraphCopier_CopyFactory, init:Boolean = true)
Creates a new instance that delegates the actual copying process of the elements to the provided factory. | GraphCopier_GraphDataCopyFactory | ||
Delegates the copying of the data to copyEdgeData()
| GraphCopier_GraphDataCopyFactory | ||
Delegates the copying of the data to copyNodeData()
| GraphCopier_GraphDataCopyFactory | ||
GraphCopier_GraphDataCopyFactory | |||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | GraphCopier_GraphDataCopyFactory | ||
hashCode():int | YObject | ||
Calls the delegate and then postCopyData(). | GraphCopier_GraphDataCopyFactory | ||
Calls preCopyData() and then the delegate. | GraphCopier_GraphDataCopyFactory |
Method | Defined By | ||
---|---|---|---|
Empty stub to be overwritten by subclass implementations. | GraphCopier_GraphDataCopyFactory | ||
Empty stub to be overwritten by subclass implementations. | GraphCopier_GraphDataCopyFactory | ||
initGraphCopier_GraphDataCopyFactory(delegatingFactory:GraphCopier_CopyFactory):void | GraphCopier_GraphDataCopyFactory | ||
Empty stub to be overwritten by subclass implementations. | GraphCopier_GraphDataCopyFactory | ||
Empty stub to be overwritten by subclass implementations. | GraphCopier_GraphDataCopyFactory |
GraphCopier_GraphDataCopyFactory | () | Constructor |
public function GraphCopier_GraphDataCopyFactory(delegatingFactory:GraphCopier_CopyFactory, init:Boolean = true)
Creates a new instance that delegates the actual copying process of the elements to the provided factory.
ParametersdelegatingFactory:GraphCopier_CopyFactory | |
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
copyEdge | () | method |
public function copyEdge(graph:Graph, source:Node, target:Node, hint:Edge):Edge
Delegates the copying of the data to copyEdgeData()
Parameters
graph:Graph | |
source:Node | |
target:Node | |
hint:Edge |
Edge |
See also
copyEdgeData | () | method |
protected function copyEdgeData(src:Edge, dst:Edge):void
Empty stub to be overwritten by subclass implementations.
Parameters
src:Edge — the old entity
| |
dst:Edge — the new entity
|
copyNode | () | method |
public function copyNode(graph:Graph, hint:Node):Node
Delegates the copying of the data to copyNodeData()
Parameters
graph:Graph | |
hint:Node |
Node |
See also
copyNodeData | () | method |
protected function copyNodeData(src:Node, dst:Node):void
Empty stub to be overwritten by subclass implementations.
Parameters
src:Node — the old entity
| |
dst:Node — the new entity
|
createGraph | () | method |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initGraphCopier_GraphDataCopyFactory | () | method |
protected final function initGraphCopier_GraphDataCopyFactory(delegatingFactory:GraphCopier_CopyFactory):void
Parameters
delegatingFactory:GraphCopier_CopyFactory |
postCopyData | () | method |
protected function postCopyData(src:Graph, dst:Graph, nodeMap:Map, edgeMap:Map):void
Empty stub to be overwritten by subclass implementations.
Parameters
src:Graph | |
dst:Graph | |
nodeMap:Map — a Map that maps old node instances to their new copies
| |
edgeMap:Map — a Map that maps old edge instances to their new copies
|
postCopyGraphData | () | method |
public function postCopyGraphData(srcGraph:Graph, newGraph:Graph, nodeMap:Map, edgeMap:Map):void
Calls the delegate and then postCopyData().
Parameters
srcGraph:Graph | |
newGraph:Graph | |
nodeMap:Map | |
edgeMap:Map |
See also
preCopyData | () | method |
protected function preCopyData(src:Graph, dst:Graph):void
Empty stub to be overwritten by subclass implementations.
Parameters
src:Graph | |
dst:Graph |
preCopyGraphData | () | method |
public function preCopyGraphData(srcGraph:Graph, newGraph:Graph):void
Calls preCopyData() and then the delegate.
Parameters
srcGraph:Graph | |
newGraph:Graph |
See also