Packagecom.yworks.graph.model
Interfacepublic interface IStripeSelection extends ISelectionModel, flash.events.IEventDispatcher, Iterable
Implementors StripeSelection

Manages the selection state of items in an ITable instance.

This interface provides access to the ISelectionModel instances that manage the selection of rows and columns. The generic methods that use IModelItem parameters delegate to the corresponding domain-specific selection models.

See also

ISelectionModel


Public Properties
 PropertyDefined By
 Inheritedcount : uint
[read-only] Returns the number of selected items.
ISelectionModel
  crossTableSelectionAllowed : Boolean
Whether to allow the selection to span multiple table instances.
IStripeSelection
  mixedSelectionAllowed : Boolean
Whether to allow mixed row/column selections.
IStripeSelection
  selectedColumns : ISelectionModel
[read-only] An ISelectionModel of the selected columns.
IStripeSelection
 InheritedselectedObjects : Iterable
[read-only] Gets an iterable that enumerates all currently selected items.
ISelectionModel
  selectedRows : ISelectionModel
[read-only] An ISelectionModel of the selected rows.
IStripeSelection
  selectedStripes : ICollectionModel
[read-only] An ICollectionModel of all selected items.
IStripeSelection
Public Methods
 MethodDefined By
 Inherited
clear():void
Clears the selection.
ISelectionModel
 Inherited
isSelected(item:IModelItem):Boolean
Determines whether an item is currently selected.
ISelectionModel
 Inherited
Returns an iterator over a set of elements.
Iterable
 Inherited
setSelected(item:IModelItem, selected:Boolean):void
Sets the selection state of an item.
ISelectionModel
Property Detail
crossTableSelectionAllowedproperty
crossTableSelectionAllowed:Boolean

Whether to allow the selection to span multiple table instances.


Implementation
    public function get crossTableSelectionAllowed():Boolean
    public function set crossTableSelectionAllowed(value:Boolean):void
mixedSelectionAllowedproperty 
mixedSelectionAllowed:Boolean

Whether to allow mixed row/column selections.


Implementation
    public function get mixedSelectionAllowed():Boolean
    public function set mixedSelectionAllowed(value:Boolean):void
selectedColumnsproperty 
selectedColumns:ISelectionModel  [read-only]

An ISelectionModel of the selected columns.

This is the column part of the selection that this instance is a composite of.


Implementation
    public function get selectedColumns():ISelectionModel
selectedRowsproperty 
selectedRows:ISelectionModel  [read-only]

An ISelectionModel of the selected rows.

This is the row part of the selection that this instance is a composite of.


Implementation
    public function get selectedRows():ISelectionModel
selectedStripesproperty 
selectedStripes:ICollectionModel  [read-only]

An ICollectionModel of all selected items.


Implementation
    public function get selectedStripes():ICollectionModel