com.im.ijc.widgets.common.table
Class AbstractIJCTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
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
| 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 |
AbstractIJCTableModel
public AbstractIJCTableModel()
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 rowlastRow - 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