|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.widgets.tree.MultiSelectionModel
public class MultiSelectionModel
Selection model for multi selecting tree nodes.
DefaultSelectionModel
Field Summary |
---|
Fields inherited from class com.gwtext.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
MultiSelectionModel()
|
|
MultiSelectionModel(com.google.gwt.core.client.JavaScriptObject jsObj)
|
Method Summary | |
---|---|
void |
addSelectionModelListener(MultiSelectionModelListener listener)
|
void |
clearSelections()
Clear all selections. |
void |
clearSelections(boolean suppressEvent)
|
TreeNode[] |
getSelectedNodes()
|
static MultiSelectionModel |
instance(com.google.gwt.core.client.JavaScriptObject jsObj)
|
boolean |
isSelected(TreeNode treeNode)
Returns true if the node is selected. |
void |
select(TreeNode treeNode)
Select a node. |
void |
select(TreeNode treeNode,
boolean keepExisting)
|
void |
selectNext()
Selects the node above the selected node in the tree, intelligently walking the nodes. |
void |
selectPrevious()
Selects the node above the selected node in the tree, intelligently walking the nodes. |
void |
unselect(TreeNode treeNode)
Deselect a node. |
Methods inherited from class com.gwtext.client.core.JsObject |
---|
getJsObj, getProperties, isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.gwtext.client.widgets.tree.TreeSelectionModel |
---|
getJsObj |
Constructor Detail |
---|
public MultiSelectionModel()
public MultiSelectionModel(com.google.gwt.core.client.JavaScriptObject jsObj)
Method Detail |
---|
public static MultiSelectionModel instance(com.google.gwt.core.client.JavaScriptObject jsObj)
public void clearSelections()
TreeSelectionModel
clearSelections
in interface TreeSelectionModel
public void clearSelections(boolean suppressEvent)
public TreeNode[] getSelectedNodes()
public boolean isSelected(TreeNode treeNode)
TreeSelectionModel
isSelected
in interface TreeSelectionModel
treeNode
- the node to test
public void select(TreeNode treeNode)
TreeSelectionModel
select
in interface TreeSelectionModel
treeNode
- the tree node to selectpublic void select(TreeNode treeNode, boolean keepExisting)
public void selectNext()
TreeSelectionModel
selectNext
in interface TreeSelectionModel
public void selectPrevious()
TreeSelectionModel
selectPrevious
in interface TreeSelectionModel
public void unselect(TreeNode treeNode)
TreeSelectionModel
unselect
in interface TreeSelectionModel
treeNode
- the node to deselectpublic void addSelectionModelListener(MultiSelectionModelListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |