
gxt-2.1.1-sources.com.extjs.gxt.ui.client.widget.table.TableSelectionModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007-2009, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.widget.table;
import com.extjs.gxt.ui.client.Style.SelectionMode;
import com.extjs.gxt.ui.client.widget.grid.Grid;
import com.extjs.gxt.ui.client.widget.selection.AbstractSelectionModel;
/**
* Table selection model.
*
* @deprecated see {@link Grid}
*/
public class TableSelectionModel extends AbstractSelectionModel {
public TableSelectionModel() {
super();
}
public TableSelectionModel(SelectionMode mode) {
super(mode);
}
@Override
protected void doSelectChange(TableItem item, boolean select) {
if (locked) return;
container.getView().onSelectItem(item, select);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy