Package | Description |
---|---|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
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 | Method and Description |
---|---|
ISelectionModel<IModelItem> |
LayoutGraphAdapter.getSelectionModel()
Gets the
ISelectionModel to use for the automatically registered IDataProvider instances for the keys LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
ISelectionModel<IModelItem> |
LayoutExecutor.getSelectionModel()
Gets the
ISelectionModel to use for the automatically registered IDataProvider instances for LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
Modifier and Type | Method and Description |
---|---|
void |
LayoutGraphAdapter.setSelectionModel(ISelectionModel<IModelItem> value)
Sets the
ISelectionModel to use for the automatically registered IDataProvider instances for the keys LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
void |
LayoutExecutor.setSelectionModel(ISelectionModel<IModelItem> value)
Sets the
ISelectionModel to use for the automatically registered IDataProvider instances for LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
Constructor and Description |
---|
LayoutGraphAdapter(IGraph graph,
ISelectionModel<IModelItem> selectionModel)
Creates the adapter using a given
IGraph and ISelectionModel . |
Modifier and Type | Interface and Description |
---|---|
interface |
IGraphSelection
Manages the selection state of items in an
IGraph instance. |
interface |
IStripeSelection
Manages the selection state of items in an
ITable instance. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSelectionModel<T>
Default implementation of an
ISelectionModel that is based on an observable collection to hold the selected
elements. |
class |
GraphSelection
Simple implementation of the
IGraphSelection interface. |
class |
StripeSelection
Default implementation of the
IStripeSelection interface. |
Modifier and Type | Method and Description |
---|---|
ISelectionModel<IBend> |
IGraphSelection.getSelectedBends()
An
ISelectionModel of the selected bends. |
ISelectionModel<IBend> |
GraphSelection.getSelectedBends() |
ISelectionModel<IColumn> |
StripeSelection.getSelectedColumns() |
ISelectionModel<IColumn> |
IStripeSelection.getSelectedColumns()
An
ISelectionModel of the selected columns. |
ISelectionModel<IEdge> |
IGraphSelection.getSelectedEdges()
An
ISelectionModel of the selected edges. |
ISelectionModel<IEdge> |
GraphSelection.getSelectedEdges() |
ISelectionModel<ILabel> |
IGraphSelection.getSelectedLabels()
An
ISelectionModel of the selected labels. |
ISelectionModel<ILabel> |
GraphSelection.getSelectedLabels() |
ISelectionModel<INode> |
IGraphSelection.getSelectedNodes()
An
ISelectionModel of the selected nodes. |
ISelectionModel<INode> |
GraphSelection.getSelectedNodes() |
ISelectionModel<IPort> |
IGraphSelection.getSelectedPorts()
An
ISelectionModel of the selected ports. |
ISelectionModel<IPort> |
GraphSelection.getSelectedPorts() |
ISelectionModel<IRow> |
StripeSelection.getSelectedRows() |
ISelectionModel<IRow> |
IStripeSelection.getSelectedRows()
An
ISelectionModel of the selected rows. |
ISelectionModel<T> |
SelectionIndicatorManager.getSelectionModel()
Gets the selection model that determines which items are selected.
|
ISelectionModel<T> |
HighlightIndicatorManager.getSelectionModel()
Gets the selection model that determines which items are highlighted.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectionIndicatorManager.setSelectionModel(ISelectionModel<T> value)
Sets the selection model that determines which items are selected.
|
void |
HighlightIndicatorManager.setSelectionModel(ISelectionModel<T> value)
Sets the selection model that determines which items are highlighted.
|
Constructor and Description |
---|
HighlightIndicatorManager(CanvasControl canvas,
ISelectionModel<T> selectionModel)
Creates an instance that for all selected items in the model dynamically installs a highlight decoration.
|
SelectionIndicatorManager(CanvasControl canvas,
IObservableCollection<T> model,
ISelectionModel<T> selectionModel)
Creates an instance that for all selected items in the model dynamically installs a selection render decoration.
|
Modifier and Type | Method and Description |
---|---|
ISelectionModel<T> |
SelectionEventArgs.getSelection()
Gets the selection these event arguments refer to.
|
Constructor and Description |
---|
SelectionEventArgs(IInputModeContext context,
ISelectionModel<T> selection)
Creates a new instance.
|