M
- the model typepublic 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.
|
ListView<M,?> |
getListView()
Returns the currently bound list view.
|
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, setSelectionMode
public void bindList(ListView<M,?> listView)
listView
- the list viewpublic ListView<M,?> getListView()
public boolean isVertical()
true
if up and down arrow keys are used for navigation. Else left and right arrow keys are used.public void setVertical(boolean isVertical)
true
).isVertical
- the isVertical to setCopyright © 2015. All rights reserved.