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 | Class and Description |
---|---|
class |
GraphSnapContext
Concrete
SnapContext implementation which handles snapping movement for IGraph items. |
class |
LabelSnapContext
Manages interactive snapping of
ILabel s to their owner during drag operations like movements. |
Modifier and Type | Method and Description |
---|---|
SnapContext |
GraphEditorInputMode.getLabelSnapContext()
The
LabelSnapContext instance that handles interactive snapping of
ILabel s to their owner during drag operations like movements. |
SnapContext |
MoveInputMode.getSnapContext()
The
SnapContext which manages snapping model items to certain coordinates (for instance, other
items). |
SnapContext |
ItemDropInputMode.getSnapContext()
The
SnapContext which is used to snap the dragged element during the drag. |
SnapContext |
HandleInputMode.getSnapContext()
The
SnapContext which manages snapping model items to certain coordinates (for instance, other
items). |
SnapContext |
GraphEditorInputMode.getSnapContext()
The
SnapContext instance that handles interactive snapping of elements during drag operations like movements. |
SnapContext |
CreateEdgeInputMode.getSnapContext()
The
SnapContext which manages snapping model items to certain coordinates (for instance, other
items). |
Modifier and Type | Method and Description |
---|---|
protected void |
GraphEditorInputMode.onLabelSnapContextChanged(SnapContext oldContext,
SnapContext newContext)
Called when the
LabelSnapContext property context changed. |
protected void |
GraphEditorInputMode.onSnapContextChanged(SnapContext oldContext,
SnapContext newContext)
Called when the
SnapContext property context changed. |
void |
GraphEditorInputMode.setLabelSnapContext(SnapContext value)
The
LabelSnapContext instance that handles interactive snapping of
ILabel s to their owner during drag operations like movements. |
void |
MoveInputMode.setSnapContext(SnapContext value)
The
SnapContext which manages snapping model items to certain coordinates (for instance, other
items). |
void |
ItemDropInputMode.setSnapContext(SnapContext value)
The
SnapContext which is used to snap the dragged element during the drag. |
void |
HandleInputMode.setSnapContext(SnapContext value)
The
SnapContext which manages snapping model items to certain coordinates (for instance, other
items). |
void |
GraphEditorInputMode.setSnapContext(SnapContext value)
The
SnapContext instance that handles interactive snapping of elements during drag operations like movements. |
void |
CreateEdgeInputMode.setSnapContext(SnapContext value)
The
SnapContext which manages snapping model items to certain coordinates (for instance, other
items). |