Roo.util.Observable Roo.tree.DefaultSelectionModel
Package: | Roo.tree |
Defined In: | Roo/tree/TreeSelectionModel.js. |
Class: | DefaultSelectionModel |
Extends: | Roo.util.Observable |
Options | Defined By | |
---|---|---|
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable |
Method | Defined By | |
---|---|---|
new Roo.tree.DefaultSelectionModel
(Object cfg)
Create a new Roo.tree.DefaultSelectionModel
Create a new Roo.tree.DefaultSelectionModel
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
clearSelections
()
Clear all selections
Clear all selections
|
Roo.tree.DefaultSelectionModel | |
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
getSelectedNode
()
:
TreeNode
Get the selected node
Get the selected node
|
Roo.tree.DefaultSelectionModel | |
Roo.util.Observable | ||
isSelected
(TreeNode node)
:
Boolean
Returns true if the node is selected
Returns true if the node is selected
|
Roo.tree.DefaultSelectionModel | |
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
select
(TreeNode node)
:
TreeNode
Select a node.
Select a node.
|
Roo.tree.DefaultSelectionModel | |
selectNext
()
:
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
|
Roo.tree.DefaultSelectionModel | |
selectPrevious
()
:
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
|
Roo.tree.DefaultSelectionModel | |
Roo.util.Observable | ||
unselect
(TreeNode node)
Deselect a node.
Deselect a node.
|
Roo.tree.DefaultSelectionModel |