documentationfor yFiles for HTML 3.0.0.3

Properties

portCandidateProviderin EdgeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPortCandidateProvider type for IEdges this instance has been created for.
portCandidateProviderin NodeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IPortCandidateProvider type for the INodes this instance has been created for.

Fields

NO_CANDIDATESin IPortCandidateProviderA generic implementation of the IPortCandidateProvider interface that provides no candidates.

Method Return Values

getEndPortCandidateProvider (IPortCandidate, Point)in CreateEdgeInputModeRetrieves the IPortCandidateProvider instance that provides the possible candidates for the end of the edge given the current start candidate.
getEndPortCandidateProvider (IPortCandidate, IPortOwner, Point)in CreateEdgeInputModeRetrieves the port candidate provider instance given a start port candidate and a possible ending item.
getStartPortCandidateProvider (Point)in CreateEdgeInputModeFinds the start port candidate provider at the specified location.
getStartPortCandidateProvider (IPortOwner)in CreateEdgeInputModeRetrieves the port candidate provider instance given a port owner for the start of the gesture.
combine (IEnumerable<IPortCandidateProvider>)in IPortCandidateProviderCreates a generic composite implementation for the IPortCandidateProvider interface.
combine (IPortCandidateProvider)in IPortCandidateProviderCreates a generic composite implementation for the IPortCandidateProvider interface.
create ()in IPortCandidateProvider
fromExistingPorts (IPortOwner)in IPortCandidateProviderCreates an implementation of the IPortCandidateProvider interface that returns the ports that exist in the given ports's IPortOwner collection.
fromPortDefaults (IPortOwner)in IPortCandidateProviderCreates an implementation of an IPortCandidateProvider that always returns a candidate that uses the default locationParameter for the corresponding IPortDefaults.
fromUnoccupiedPorts (IPortOwner)in IPortCandidateProviderCreates an implementation of an IPortCandidateProvider that returns unoccupied ports at a given entity.

Method Parameters

combine (IEnumerable<IPortCandidateProvider>)in IPortCandidateProviderCreates a generic composite implementation for the IPortCandidateProvider interface.
combine (IPortCandidateProvider)in IPortCandidateProviderCreates a generic composite implementation for the IPortCandidateProvider interface.

Implementing Types

PortCandidateProviderBaseAn abstract base implementation of the IPortCandidateProvider interface.