Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
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 |
GraphSelection
Simple implementation of the
IGraphSelection interface. |
Modifier and Type | Method and Description |
---|---|
protected IGraphSelection |
GraphControl.createSelection()
Factory method for the Selection property.
|
IGraphSelection |
GraphControl.getSelection()
Gets the selection model that is used for this control.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<IGraphSelection> |
GraphControl.selectionProperty()
The property that holds the the GraphSelection.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphControl.setSelection(IGraphSelection value)
Sets the selection model that is used for this control.
|
Modifier and Type | Method and Description |
---|---|
IGraphSelection |
NavigationInputMode.getGraphSelection()
Gets the
IGraphSelection this mode operates on. |
IGraphSelection |
MoveLabelInputMode.getGraphSelection()
Gets the
IGraphSelection this mode is acting upon. |
default IGraphSelection |
IInputModeContext.getGraphSelection()
Tries to retrieve an
IGraphSelection instance from the IInputModeContext . |
Modifier and Type | Method and Description |
---|---|
protected void |
GraphEditorInputMode.onGraphSelectionChanged(IGraphSelection oldSelection,
IGraphSelection newSelection)
Called when the
GraphSelection property changes. |