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 void |
NodeSnapLineProvider.addCenterSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that is called by
NodeSnapLineProvider.addSnapLines(GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)
the collect snap lines for the centers of the node. |
protected void |
NodeSnapLineProvider.addFixedNodeBorderSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that adds the fixed snap lines around the border of the nodes'
layout . |
protected void |
EdgeSnapLineProvider.addHorizontalSegmentSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IEdge edge,
PointD segmentStart,
PointD segmentEnd)
Adds horizontal snap lines for a horizontally oriented fixed segment snap lines.
|
protected void |
NodeSnapLineProvider.addNodeToNodeSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that adds the fixed snap lines around the node for other nodes to snap to using the
NodeToNodeDistance . |
protected void |
NodeSnapLineProvider.addNodeToSegmentSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that adds the fixed snap lines around the node for edge segments to snap to.
|
protected void |
NodeSnapLineProvider.addPortSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
INode node,
RectD layout)
Callback method that is called by
NodeSnapLineProvider.addSnapLines(GraphSnapContext, CollectGraphSnapLinesEventArgs, IModelItem)
the collect snap lines to snap ports to at the provided node. |
void |
NodeSnapLineProvider.addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Called by the
GraphSnapContext when a drag
is about to start. |
void |
ISnapLineProvider.addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Called by the
GraphSnapContext when a drag
is about to start. |
void |
EdgeSnapLineProvider.addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Adds the snap lines for the given model item to the
args . |
protected void |
EdgeSnapLineProvider.addVerticalSegmentSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IEdge edge,
PointD segmentStart,
PointD segmentEnd)
Adds vertical snap lines for a vertically oriented fixed segment snap lines.
|
protected void |
GraphSnapContext.collectFixedNodeSnapLines(CollectGraphSnapLinesEventArgs args)
Collects the
OrthogonalSnapLine s for the nodes which are not moving. |
protected void |
GraphSnapContext.collectFixedPortSnapLines(CollectGraphSnapLinesEventArgs args)
Collects the
OrthogonalSnapLine s for the ports which are not moving. |
protected void |
GraphSnapContext.collectFixedSegmentSnapLines(CollectGraphSnapLinesEventArgs args)
Collects snap lines for edge segments.
|
protected void |
GraphSnapContext.onCollectSnapLines(CollectGraphSnapLinesEventArgs args)
Raises the
CollectSnapLines event. |
Modifier and Type | Method and Description |
---|---|
void |
GraphSnapContext.addCollectSnapLinesListener(IEventHandler<CollectGraphSnapLinesEventArgs> collectSnapLinesEvent)
Adds the given listener for the
CollectSnapLines event that occurs every time this instance has been initialized
to collect OrthogonalSnapLine s. |
void |
GraphSnapContext.removeCollectSnapLinesListener(IEventHandler<CollectGraphSnapLinesEventArgs> collectSnapLinesEvent)
Removes the given listener for the
CollectSnapLines event that occurs every time this instance has been initialized
to collect OrthogonalSnapLine s. |