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 |
---|---|
MovementInfo |
OrthogonalEdgeEditingContext.addImplicitlyMovedBend(MovementInfo movementInfo)
Registers the provided bend as being moved implicitly for this edit.
|
MovementInfo |
OrthogonalEdgeEditingContext.createImplicitlyMovedBendInfo(IBend bend,
MovementInfo horizontalAdjacentInfo,
MovementInfo verticalAdjacentInfo)
Creates or obtains a previously created
MovementInfo for the provided implicitly moved bend. |
MovementInfo |
MovementInfo.getHorizontalAnchor()
Gets the horizontal movement info to which this info is anchored horizontally.
|
MovementInfo |
GraphSnapContext.getMovementInfo(IBend bend)
Gets the movement info for the given bend.
|
MovementInfo |
GraphSnapContext.getMovementInfo(INode node)
Gets the movement info for the given node.
|
MovementInfo |
GraphSnapContext.getMovementInfo(IPort port)
Gets the movement info for the given port.
|
MovementInfo |
MovementInfo.getVerticalAnchor()
Gets the vertical movement info to which this info is anchored vertically.
|
Modifier and Type | Method and Description |
---|---|
protected IListEnumerable<MovementInfo> |
OrthogonalEdgeEditingContext.getMovementInfos(IEdge edge)
Gets the
movement infos that describe the orthogonal path of the edge. |
IListEnumerable<MovementInfo> |
GraphSnapContext.getMovementInfos(IEdge edge)
Gets the
movement information for the provided edge. |
Modifier and Type | Method and Description |
---|---|
void |
GraphSnapContext.addBendToBeMoved(MovementInfo info)
Adds
MovementInfo representing an IBend that will be considered for the next drag gesture. |
void |
GraphSnapContext.addEdgeEndToBeMoved(MovementInfo info,
boolean sourceEnd)
Adds
MovementInfo representing the end of an IEdge that will be considered for the next drag gesture. |
void |
OrthogonalEdgeEditingContext.addExplicitlyMovedBend(MovementInfo movementInfo)
Registers the provided bend with this instance so that it will be considered explicitly moved for this edit.
|
MovementInfo |
OrthogonalEdgeEditingContext.addImplicitlyMovedBend(MovementInfo movementInfo)
Registers the provided bend as being moved implicitly for this edit.
|
void |
OrthogonalEdgeEditingContext.addMovedEdgeEnd(MovementInfo movementInfo,
boolean sourceEnd)
Registers the provided end of the edge with this instance so that it will be considered explicitly moved for this edit.
|
void |
OrthogonalEdgeEditingContext.addMovedPort(MovementInfo movementInfo)
Registers the provided port with this instance so that it will be considered explicitly moved for this edit.
|
void |
GraphSnapContext.addNodeToBeMoved(MovementInfo info)
Adds
MovementInfo representing an INode that will be considered for the next drag gesture. |
void |
GraphSnapContext.addOrthogonalSegment(MovementInfo start,
MovementInfo end)
Adds an orthogonally moved segment to this context for which this instance will automatically collect
SnapResult s and provide a default visualization. |
void |
GraphSnapContext.addPortToBeMoved(MovementInfo info)
Adds
MovementInfo representing an IPort that will be considered for the next drag gesture. |
MovementInfo |
OrthogonalEdgeEditingContext.createImplicitlyMovedBendInfo(IBend bend,
MovementInfo horizontalAdjacentInfo,
MovementInfo verticalAdjacentInfo)
Creates or obtains a previously created
MovementInfo for the provided implicitly moved bend. |
boolean |
MovementInfo.movesHorizontallySynchronizedWith(MovementInfo info)
Determines whether this instances moves synchronized with the provided info.
|
boolean |
MovementInfo.movesVerticallySynchronizedWith(MovementInfo info)
Determines whether this instances moves synchronized with the provided info.
|
void |
MovementInfo.setHorizontalAnchor(MovementInfo value)
Sets the horizontal movement info to which this info is anchored horizontally.
|
void |
MovementInfo.setVerticalAnchor(MovementInfo value)
Sets the vertical movement info to which this info is anchored vertically.
|
Modifier and Type | Method and Description |
---|---|
void |
IEdgeSnapResultProvider.collectSnapResults(GraphSnapContext context,
CollectSnapResultsEventArgs args,
IListEnumerable<MovementInfo> movementInfos,
IEdge edge)
Called to during the snapping operation whenever
snap results are collected . |
protected void |
OrthogonalEdgeEditingContext.prepareOrthogonalEdge(IGraph graph,
IEdge edge,
IListEnumerable<SegmentOrientation> orientations,
IListEnumerable<MovementInfo> infos)
Helper method that inspects and prepares an orthogonal edge for the upcoming edit process.
|