com.extjs.gxt.ui.client.widget
Class DataListSelectionModel

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.selection.AbstractSelectionModel<DataList,DataListItem>
      extended by com.extjs.gxt.ui.client.widget.DataListSelectionModel
All Implemented Interfaces:
Listener<ContainerEvent>, SelectionModel<DataList,DataListItem>, java.util.EventListener

public class DataListSelectionModel
extends AbstractSelectionModel<DataList,DataListItem>

A AbstractSelectionModel implementation for DataList.


Constructor Summary
DataListSelectionModel(Style.SelectionMode mode)
           
 
Method Summary
 boolean isSelectOnCheck()
          Returns true if select on check is enabled.
 void setSelectOnCheck(boolean selectOnCheck)
          Sets whether the item should be selected when the user clicks the check box (defaults to false).
 
Methods inherited from class com.extjs.gxt.ui.client.widget.selection.AbstractSelectionModel
bind, deselect, deselect, deselect, deselect, deselect, deselectAll, getSelectedItem, getSelectedItems, getSelectionMode, handleEvent, isLocked, isSelected, refresh, select, select, select, select, select, selectAll, setLocked
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataListSelectionModel

public DataListSelectionModel(Style.SelectionMode mode)
Method Detail

isSelectOnCheck

public boolean isSelectOnCheck()
Returns true if select on check is enabled.

Returns:
the select on check state

setSelectOnCheck

public void setSelectOnCheck(boolean selectOnCheck)
Sets whether the item should be selected when the user clicks the check box (defaults to false).

Parameters:
selectOnCheck - true to select on check