| 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 |
|---|---|
protected DefaultPortCandidate |
AbstractPortCandidateProvider.createCandidate(IPortOwner owner,
IPortLocationModelParameter locationParameter)
Factory method that creates a simple candidate that will use the
AbstractPortCandidateProvider.createInstance(IInputModeContext, DefaultPortCandidate)
method of this instance to delegate IPortCandidate.createPort(IInputModeContext) queries to. |
protected DefaultPortCandidate |
AbstractPortCandidateProvider.createCandidate(IPortOwner owner,
IPortLocationModelParameter locationParameter,
boolean valid)
Factory method that creates a simple candidate that will use the
AbstractPortCandidateProvider.createInstance(IInputModeContext, DefaultPortCandidate)
method of this instance to delegate IPortCandidate.createPort(IInputModeContext) queries to. |
| Modifier and Type | Method and Description |
|---|---|
protected IPort |
AbstractPortCandidateProvider.createInstance(IInputModeContext context,
DefaultPortCandidate candidate)
Callback method used by the ports created using the factory methods
AbstractPortCandidateProvider.createCandidate(IPortOwner, IPortLocationModelParameter, boolean). |
protected IPortCandidate |
AbstractPortCandidateProvider.getPortCandidateAt(IInputModeContext context,
DefaultPortCandidate candidate,
PointD suggestedLocation)
Callback method used by the ports created using the factory methods
AbstractPortCandidateProvider.createCandidate(IPortOwner, IPortLocationModelParameter, boolean). |