Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Method and Description |
---|---|
LookupDecorator<INode,IPortCandidateProvider> |
NodeDecorator.getPortCandidateProviderDecorator()
Gets a
LookupDecorator that decorates the IPortCandidateProvider for the
INode s this instance has been created for. |
LookupDecorator<IEdge,IPortCandidateProvider> |
EdgeDecorator.getPortCandidateProviderDecorator()
Gets a
LookupDecorator that decorates the IPortCandidateProvider for the
IEdge s this instance has been created for. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPortCandidateProvider
An abstract convenience implementation of the
IPortCandidateProvider interface. |
Modifier and Type | Field and Description |
---|---|
static IPortCandidateProvider |
IPortCandidateProvider.NO_CANDIDATES
A generic implementation of the
IPortCandidateProvider interface that provides no candidates. |
Modifier and Type | Method and Description |
---|---|
static IPortCandidateProvider |
IPortCandidateProvider.combine(IPortCandidateProvider... providers)
Creates a generic composite implementation for the
IPortCandidateProvider interface. |
static IPortCandidateProvider |
IPortCandidateProvider.combine(Iterable<IPortCandidateProvider> providers)
Creates a generic composite implementation for the
IPortCandidateProvider interface. |
static IPortCandidateProvider |
IPortCandidateProvider.fromExistingPorts(IPortOwner owner)
Creates an implementation of the
IPortCandidateProvider interface that returns the ports that exist in the given
Ports 's IPortOwner collection. |
static IPortCandidateProvider |
IPortCandidateProvider.fromPortDefaults(IPortOwner owner)
Creates a simple implementation of an
IPortCandidateProvider that always returns a candidate that uses the
default LocationParameter for the corresponding
IPortDefaults . |
static IPortCandidateProvider |
IPortCandidateProvider.fromUnoccupiedPorts(IPortOwner owner)
Creates a simple implementation of an
IPortCandidateProvider that returns unoccupied ports at a given entity. |
protected IPortCandidateProvider |
CreateEdgeInputMode.getSourcePortCandidateProvider(IPortOwner sourceOwner)
Retrieves the port candidate provider instance given a source port owner.
|
protected IPortCandidateProvider |
CreateEdgeInputMode.getTargetPortCandidateProvider(IPortCandidate sourcePortCandidate,
IPortOwner targetOwner,
PointD location)
Retrieves the port candidate provider instance given a source port candidate and a possible target item.
|
protected IPortCandidateProvider |
CreateEdgeInputMode.getTargetPortCandidateProvider(IPortCandidate sourcePortCandidate,
PointD location)
Retrieves the
IPortCandidateProvider instance that provides the possible candidates for the target of the edge
given the current source candidate. |
Modifier and Type | Method and Description |
---|---|
static IPortCandidateProvider |
IPortCandidateProvider.combine(IPortCandidateProvider... providers)
Creates a generic composite implementation for the
IPortCandidateProvider interface. |
protected IPortCandidate |
CreateEdgeInputMode.getSourcePortCandidate(IPortCandidateProvider provider,
PointD location,
boolean resolveCandidates)
Finds the best matching source port
IPortCandidate given a provider and the current location. |
Modifier and Type | Method and Description |
---|---|
static IPortCandidateProvider |
IPortCandidateProvider.combine(Iterable<IPortCandidateProvider> providers)
Creates a generic composite implementation for the
IPortCandidateProvider interface. |