|
|||||||||
| 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 TreeSelectionModelpublic void clearSelections(boolean suppressEvent)
public TreeNode[] getSelectedNodes()
public boolean isSelected(TreeNode treeNode)
TreeSelectionModel
isSelected in interface TreeSelectionModeltreeNode - the node to test
public void select(TreeNode treeNode)
TreeSelectionModel
select in interface TreeSelectionModeltreeNode - the tree node to select
public void select(TreeNode treeNode,
boolean keepExisting)
public void selectNext()
TreeSelectionModel
selectNext in interface TreeSelectionModelpublic void selectPrevious()
TreeSelectionModel
selectPrevious in interface TreeSelectionModelpublic void unselect(TreeNode treeNode)
TreeSelectionModel
unselect in interface TreeSelectionModeltreeNode - the node to deselectpublic void addSelectionModelListener(MultiSelectionModelListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||