JIDE 3.5.15

com.jidesoft.grid
Interface IndexedRowTableModelWrapper

All Superinterfaces:
RowTableModelWrapper, TableModelWrapper
All Known Implementing Classes:
DefaultPageTableModel, DefaultTableModelWrapper, FilterableAggregateTableModel, FilterableTableModel, FilterableTreeTableModel, LuceneFilterableTableModel, SortableAggregateTableModel, SortableTableModel, SortableTreeTableModel

public interface IndexedRowTableModelWrapper
extends RowTableModelWrapper

This is an interface extends RowTableModelWrapper to provide a more specific row table model wrapper implementation with index.


Method Summary
 int[] getIndexes()
          Gets the indexes that maps from the visual row index to the actual row index.
 void setIndexes(int[] indexes)
          Sets the indexes of the row mapping.
 
Methods inherited from interface com.jidesoft.grid.RowTableModelWrapper
getActualRowAt, getVisualRowAt
 
Methods inherited from interface com.jidesoft.grid.TableModelWrapper
getActualModel
 

Method Detail

getIndexes

int[] getIndexes()
Gets the indexes that maps from the visual row index to the actual row index. It should return a clone of the index array, not the actual array that is being used.

Returns:
the indexes.

setIndexes

void setIndexes(int[] indexes)
Sets the indexes of the row mapping. We exposed this method to allow quick access to the underlying indexes. The method won't fire any table events. So once you change the indexes, you need to fire corresponding table event so that table can update itself.

Parameters:
indexes - the new index array.

JIDE 3.5.15