documentationfor yFiles for HTML 2.6

DefaultSelectionModel<T>

Default implementation of an ISelectionModel<T> that is based on an observable collection to hold the selected elements.

Inheritance Hierarchy
DefaultSelectionModel
Implemented Interfaces

Remarks

This selection model has a domain that's controlled with a predicate which encompasses the items that can be selected. If that domain changes it is important to delegate item removal events from the domain model to this selection model to ensure that items that have been removed are deselected as well. An event handler exists for that purpose.

Type Parameters

T
The type of the items to be selected.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.DefaultSelectionModel

Constructors

Properties

Methods

Events