com.extjs.gxt.ui.client.binder
Class TableBinder<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.binder.StoreBinder<ListStore<M>,Table,M>
          extended by com.extjs.gxt.ui.client.binder.TableBinder<M>
Type Parameters:
M - the model type
All Implemented Interfaces:
Observable, SelectionProvider<M>

Deprecated. see Grid

public class TableBinder<M extends ModelData>
extends StoreBinder<ListStore<M>,Table,M>

A StoreBinder implementation for Tables.


Constructor Summary
TableBinder(Table table, ListStore<M> store)
          Deprecated. Creates a new table binder.
 
Method Summary
 Component findItem(M model)
          Deprecated. Returns the matching component for the given model.
 ListStore<M> getStore()
          Deprecated. Returns the binder's store.
 Table getTable()
          Deprecated. Returns the binder's table.
 
Methods inherited from class com.extjs.gxt.ui.client.binder.StoreBinder
addSelectionChangedListener, getSelection, init, isAutoSelect, isFiltered, isMask, removeSelectionListener, setAutoSelect, setIconProvider, setMask, setSelection, setSelection, setStringProvider, setStyleProvider
 
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

TableBinder

public TableBinder(Table table,
                   ListStore<M> store)
Deprecated. 
Creates a new table binder. StoreBinder.init() must be called after configuring the binder.

Parameters:
table - the table
store - the list store
Method Detail

findItem

public Component findItem(M model)
Deprecated. 
Description copied from class: StoreBinder
Returns the matching component for the given model.

Specified by:
findItem in class StoreBinder<ListStore<M extends ModelData>,Table,M extends ModelData>
Parameters:
model - the model
Returns:
the component

getStore

public ListStore<M> getStore()
Deprecated. 
Returns the binder's store.

Overrides:
getStore in class StoreBinder<ListStore<M extends ModelData>,Table,M extends ModelData>
Returns:
the store

getTable

public Table getTable()
Deprecated. 
Returns the binder's table.

Returns:
the table