| Package | com.yworks.graph.model |
| Class | public class NodeCenterPortCandidateProvider |
| Inheritance | NodeCenterPortCandidateProvider AbstractPortCandidateProvider |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| NodeCenterPortCandidateProvider | ||
![]() |
getCandidateSourcePortCandidates(context:IInputModeContext, graph:IGraph, target:IPortCandidate):Iterable
Convenience implementation that simply delegates to
getPortCandidates. | AbstractPortCandidateProvider | |
![]() |
getCandidateTargetPortCandidates(context:IInputModeContext, graph:IGraph, source:IPortCandidate):Iterable
Convenience implementation that simply delegates to
getPortCandidates. | AbstractPortCandidateProvider | |
![]() |
Convenience implementation that simply delegates to
getPortCandidates. | AbstractPortCandidateProvider | |
![]() |
Convenience implementation that simply delegates to
getPortCandidates. | AbstractPortCandidateProvider | |
![]() |
Convenience implementation that simply delegates to
getPortCandidates. | AbstractPortCandidateProvider | |
![]() |
Convenience implementation that simply delegates to
getPortCandidates. | AbstractPortCandidateProvider | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addExistingPorts(list:List):void
Convenience method for subclasses that adds all existing ports
of the
portOwner to the provided list. | AbstractPortCandidateProvider | |
![]() |
Factory method that creates a simple candidate that will use the
createInstance
method of this instance to delegate createInstance of the port candidate to. | AbstractPortCandidateProvider | |
![]() |
Callback method used by the ports created using the
createCallbackPort factory method. | AbstractPortCandidateProvider | |
|
Creates an enumeration of possibly port candidates.
| NodeCenterPortCandidateProvider | ||
![]() |
setPortOwner(value:IPortOwner):void
Sets the owner of the port candidate.
| AbstractPortCandidateProvider | |
| NodeCenterPortCandidateProvider | () | constructor |
public function NodeCenterPortCandidateProvider(node:INode)Constructor.
Parametersnode:INode — The node to get the port candidate for
|
| getPortCandidates | () | method |
protected override function getPortCandidates(context:IInputModeContext, graph:IGraph):IterableCreates an enumeration of possibly port candidates.
This method is used as a callback by most of the getter methods in this class. Subclasses habe to override this method to provide the same candidates for all use-cases.
Parameterscontext:IInputModeContext |
|
graph:IGraph |
Iterable —
An iterable collection of port candidates.
|