com.im.ijc.widgets/1 5.9.1

com.im.ijc.widgets.common.table
Class AbstractIJCTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.im.ijc.widgets.common.table.AbstractIJCTableModel
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
TableWidgetModel

public abstract class AbstractIJCTableModel
extends AbstractTableModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AbstractIJCTableModel()
           
 
Method Summary
protected  Pair<Integer,Integer> getDatasetAwareIndexes(int firstRow, int lastRow)
           
protected abstract  DatasetType getForegroundDatasetType()
           
 int getForegroundRowCount()
           
 Integer getIndexWithinVertexState(int relativeIndex)
           
protected abstract  DFResultSet.VertexState getVertexState()
           
abstract  void tableDataIdsUpdated()
           
abstract  void tableDataSelectionUpdated()
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.table.TableModel
getColumnCount, getRowCount, getValueAt
 

Constructor Detail

AbstractIJCTableModel

public AbstractIJCTableModel()
Method Detail

tableDataIdsUpdated

public abstract void tableDataIdsUpdated()

tableDataSelectionUpdated

public abstract void tableDataSelectionUpdated()

getForegroundDatasetType

protected abstract DatasetType getForegroundDatasetType()

getVertexState

protected abstract DFResultSet.VertexState getVertexState()

getForegroundRowCount

public int getForegroundRowCount()

getIndexWithinVertexState

public Integer getIndexWithinVertexState(int relativeIndex)

getDatasetAwareIndexes

protected Pair<Integer,Integer> getDatasetAwareIndexes(int firstRow,
                                                       int lastRow)
Parameters:
firstRow - index of the first row
lastRow - index of the last row
Returns:
pair of indices relative to the currently used dataset. Might be null in the case widget is bound to selection and indexes are not within the selection of the current VertexState's

com.im.ijc.widgets/1 5.9.1