ObservableDefaultSelectionModel
| Package: | CQ.Ext.tree |
| Class: | DefaultSelectionModel |
| Extends: | CQ.Ext.util.Observable |
| Clientlib: | cq.widgets |
| Method | Defined By | |
|---|---|---|
clearSelections( Boolean silent ) : void Clear all selections
Clear all selections
Parameters:
|
DefaultSelectionModel | |
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 | |
|
getSelectedNode() : TreeNode Get the selected node
Get the selected node
Parameters:
|
DefaultSelectionModel | |
isSelected( TreeNode node ) : Boolean Returns true if the node is selected
Returns true if the node is selected
Parameters:
|
DefaultSelectionModel | |
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 | |
select( TreeNode node ) : TreeNode Select a node.
Select a node.
Parameters:
|
DefaultSelectionModel | |
|
selectNext() : TreeNode Selects the node above the selected node in the tree, intelligently walking the nodes
Selects the node above the selected node in the tree, intelligently walking the nodes
Parameters:
|
DefaultSelectionModel | |
|
selectPrevious() : TreeNode Selects the node above the selected node in the tree, intelligently walking the nodes
Selects the node above the selected node in the tree, intelligently walking the nodes
Parameters:
|
DefaultSelectionModel | |
unselect( TreeNode node, Boolean silent ) : void Deselect a node.
Deselect a node.
Parameters:
|
DefaultSelectionModel | |