ObservableAbstractSelectionModel
| Package: | CQ.Ext.grid |
| Class: | AbstractSelectionModel |
| Subclasses: | CellSelectionModel, RowSelectionModel, CustomCellSelectionModel |
| Extends: | CQ.Ext.util.Observable |
| Clientlib: | cq.widgets |
| Property | Defined By | |
|---|---|---|
|
grid : Object
The GridPanel for which this SelectionModel is handling selection. Read-only.
|
AbstractSelectionModel | |
| Method | Defined By | |
|---|---|---|
|
AbstractSelectionModel()
Parameters:
|
AbstractSelectionModel | |
enableBubble( String/Array events ) : void Enables events fired by this Observable to bubble up an owner hierarchy by calling
this.getBubbleTarget() if present....
Enables events fired by this Observable to bubble up an owner hierarchy by calling
This is commonly used by CQ.Ext.Components to bubble events to owner Containers. See CQ.Ext.Component.getBubbleTarget. The default implementation in CQ.Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly. Example:
Parameters:
|
Observable | |
|
isLocked() : Boolean Returns true if the selections are locked.
Returns true if the selections are locked.
Parameters:
|
AbstractSelectionModel | |
|
lock() : void Locks the selections.
Locks the selections.
Parameters:
|
AbstractSelectionModel | |
relayEvents( Object o, Array events ) : void Relays selected events from the specified Observable as if the events were fired by this.
Relays selected events from the specified Observable as if the events were fired by this.
Parameters:
|
Observable | |
|
unlock() : void Unlocks the selections.
Unlocks the selections.
Parameters:
|
AbstractSelectionModel | |