public class ListViewSelectionModel<M> extends AbstractStoreSelectionModel<M>
| Constructor and Description |
|---|
ListViewSelectionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindList(ListView<M,?> listView)
Binds the list view to the selection model.
|
boolean |
isVertical()
Returns true if up and down arrow keys are used for navigation.
|
void |
setVertical(boolean isVertical)
Sets if up and down arrow keys or left and right arrow keys should be used
(defaults to true).
|
addBeforeSelectionHandler, addSelectionChangedHandler, addSelectionHandler, bind, deselect, deselect, deselect, deselect, deselect, deselectAll, fireEvent, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isLocked, isSelected, refresh, select, select, select, select, select, selectAll, setLocked, setSelection, setSelectionModepublic void bindList(ListView<M,?> listView)
listView - the list viewpublic boolean isVertical()
public void setVertical(boolean isVertical)
isVertical - the isVertical to setCopyright © 2012. All Rights Reserved.