com.extjs.gxt.ui.client.widget
Class ListViewSelectionModel<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel<M>
          extended by com.extjs.gxt.ui.client.widget.ListViewSelectionModel<M>
All Implemented Interfaces:
Listener<ListViewEvent<M>>, Observable, SelectionProvider<M>, StoreSelectionModel<M>, java.util.EventListener

public class ListViewSelectionModel<M extends ModelData>
extends AbstractStoreSelectionModel<M>
implements Listener<ListViewEvent<M>>

ListView selection model.

Inherited Events:
AbstractStoreSelectionModel BeforeSelect
AbstractStoreSelectionModel SelectionChange


Constructor Summary
ListViewSelectionModel()
           
 
Method Summary
 void bindList(ListView<M> listView)
          Binds the list view to the selection model.
 void handleEvent(ListViewEvent<M> e)
          Sent when an event that the listener has registered for occurs.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractStoreSelectionModel
addSelectionChangedListener, bind, deselect, deselect, deselect, deselect, deselect, deselectAll, getSelectedItem, getSelectedItems, getSelection, getSelectionMode, isLocked, isSelected, refresh, removeSelectionListener, select, select, select, select, select, selectAll, setLocked, setSelection, setSelectionMode
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListViewSelectionModel

public ListViewSelectionModel()
Method Detail

bindList

public void bindList(ListView<M> listView)
Binds the list view to the selection model.

Parameters:
listView - the list view

handleEvent

public void handleEvent(ListViewEvent<M> e)
Description copied from interface: Listener
Sent when an event that the listener has registered for occurs.

Specified by:
handleEvent in interface Listener<ListViewEvent<M extends ModelData>>
Parameters:
e - the event which occurred