Package | com.yworks.yfiles.util |
Class | public class GraphCopier_DataProviderCopyFactory |
Inheritance | GraphCopier_DataProviderCopyFactory GraphCopier_GraphDataCopyFactory YObject Object |
Subclasses | GraphCopier_EdgeDataProviderCopyFactory, GraphCopier_ItemDataProviderCopyFactory, GraphCopier_NodeDataProviderCopyFactory |
Property | Defined By | ||
---|---|---|---|
dpKey : Object [read-only]
The DataProvider key. | GraphCopier_DataProviderCopyFactory |
Method | Defined By | ||
---|---|---|---|
GraphCopier_DataProviderCopyFactory(delegatingFactory:GraphCopier_CopyFactory, dpKey:Object, init:Boolean = true)
Creates a new delegating instance that copies the data for the given data provider key. | GraphCopier_DataProviderCopyFactory | ||
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_DataProviderCopyFactory | ||
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 | ||
Factory callback to create the backing storage. | GraphCopier_DataProviderCopyFactory | ||
Helper method that retrieves the map for the given graph instance. | GraphCopier_DataProviderCopyFactory | ||
initGraphCopier_DataProviderCopyFactory(delegatingFactory:GraphCopier_CopyFactory, dpKey:Object):void
Creates a new delegating instance that copies the data for the given data provider key. | GraphCopier_DataProviderCopyFactory | ||
initGraphCopier_GraphDataCopyFactory(delegatingFactory:GraphCopier_CopyFactory):void | GraphCopier_GraphDataCopyFactory | ||
Empty stub to be overwritten by subclass implementations. | GraphCopier_GraphDataCopyFactory | ||
[override]
Calls createMap() and registers that map on the target graph if there is no com.yworks.yfiles.base.DataMap registered on the target graph yet. | GraphCopier_DataProviderCopyFactory |
dpKey | property |
dpKey:Object
[read-only] The DataProvider key.
protected function get dpKey():Object
GraphCopier_DataProviderCopyFactory | () | Constructor |
public function GraphCopier_DataProviderCopyFactory(delegatingFactory:GraphCopier_CopyFactory, dpKey:Object, init:Boolean = true)
Creates a new delegating instance that copies the data for the given data provider key.
ParametersdelegatingFactory:GraphCopier_CopyFactory — the factory to delegate to.
| |
dpKey:Object — the data provider key
| |
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.
|
createMap | () | method |
protected function createMap(dst:Graph):DataMap
Factory callback to create the backing storage.
Parameters
dst:Graph |
DataMap |
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getMap | () | method |
protected function getMap(graph:Graph):DataMap
Helper method that retrieves the map for the given graph instance.
Parameters
graph:Graph — Graph instance for which the map is retrieved
|
DataMap — the map for the given graph instance
|
initGraphCopier_DataProviderCopyFactory | () | method |
protected final function initGraphCopier_DataProviderCopyFactory(delegatingFactory:GraphCopier_CopyFactory, dpKey:Object):void
Creates a new delegating instance that copies the data for the given data provider key.
Parameters
delegatingFactory:GraphCopier_CopyFactory — the factory to delegate to.
| |
dpKey:Object — the data provider key
|
preCopyData | () | method |
override protected function preCopyData(src:Graph, dst:Graph):void
Calls createMap() and registers that map on the target graph if there is no com.yworks.yfiles.base.DataMap registered on the target graph yet.
Parameters
src:Graph | |
dst:Graph |
See also