| net.mygwt.ui.client.widget.tree.TreeSelectionModel net.mygwt.ui.client.widget.tree.MultiSelectionModel
MultiSelectionModel | public class MultiSelectionModel extends TreeSelectionModel (Code) | | A multi-select tree selection model.
- Events:
- SelectionChange : (source this, widget, item, items)
Fires after the selection has changed.
- source : this
- widget : the table
- item : single selection or null
- items : multi selection or null
|
MultiSelectionModel | public MultiSelectionModel()(Code) | | Creates a new multi select selection model.
|
deselect | public void deselect(List items)(Code) | | Deslects a list of items.
Parameters: items - the items to be deselected |
deselectAll | public void deselectAll()(Code) | | |
getSelection | public TreeItem[] getSelection()(Code) | | Returns a list of selected items.
the selected items |
select | public void select(TreeItem item, boolean keepSelected)(Code) | | Selects a item.
Parameters: item - the item to be selected Parameters: keepSelected - true to preserve selections |
selectItems | public void selectItems(List items)(Code) | | Selects a list of item's.
Parameters: items - the items to be selected |
|
|