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 PortCandidateValidity |
PortCandidateValidity.fromOrdinal(int ordinal) |
PortCandidateValidity |
IPortCandidate.getValidity()
Determines whether this instance is a valid port candidate.
|
PortCandidateValidity |
DefaultPortCandidate.getValidity()
Determines whether this candidate is a valid one depending on the context it has been obtained from.
|
static PortCandidateValidity |
PortCandidateValidity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortCandidateValidity[] |
PortCandidateValidity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultPortCandidate.setValidity(PortCandidateValidity value)
Determines whether this candidate is a valid one depending on the context it has been obtained from.
|
Constructor and Description |
---|
DefaultPortCandidate(IPortOwner owner,
IPortLocationModelParameter locationParameter,
PortCandidateValidity validity)
Creates a candidate for the given
owner that uses the graph's defaults for the port's style and the given
locationParameter . |