All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gxt-2.1.1-sources.com.extjs.gxt.ui.client.widget.table.TableSelectionModel Maven / Gradle / Ivy

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * 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