Package | Description |
---|---|
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 |
---|---|
static AbstractPortCandidateProvider |
IPortCandidateProvider.fromCandidates(IPortCandidate... candidates)
Creates an implementation of an
IPortCandidateProvider that provides only the given port candidates. |
static AbstractPortCandidateProvider |
IPortCandidateProvider.fromCandidates(Iterable<IPortCandidate> candidates)
Creates an implementation of an
IPortCandidateProvider that provides only the given port candidates. |
static AbstractPortCandidateProvider |
IPortCandidateProvider.fromNodeCenter(INode node)
Creates a trivial implementation of an
IPortCandidateProvider that always returns exactly one candidate that is
centered at the node's Layout . |
static AbstractPortCandidateProvider |
IPortCandidateProvider.fromShapeGeometry(IPortOwner owner,
boolean addExistingPortsEnabled,
double minimumSegmentLength,
double... ratios)
Creates an implementation of
IPortCandidateProvider that works for IPortOwner implementations that have
IShapeGeometry instances in their lookup. |
static AbstractPortCandidateProvider |
IPortCandidateProvider.fromShapeGeometry(IPortOwner owner,
double... ratios)
Creates an implementation of
IPortCandidateProvider that works for IPortOwner implementations that have
IShapeGeometry instances in their lookup. |