com.im.ijc.widgets/1 5.9.1

com.im.ijc.widgets.table
Class VertexTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by com.im.ijc.widgets.common.table.AbstractIJCTableModel
          extended by com.im.ijc.widgets.table.TableWidgetModel<WBTable>
              extended by com.im.ijc.widgets.table.VertexTableModel
All Implemented Interfaces:
VertexStateDataCache.FetchedDataConsumer, Serializable, TableModel

public class VertexTableModel
extends TableWidgetModel<WBTable>
implements VertexStateDataCache.FetchedDataConsumer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.im.ijc.widgets.table.TableWidgetModel
fields, vertexState
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Method Summary
protected  PropertyChangeListener createEntityListener()
           
 void dataFetched(int firstRow, int lastRow)
           
protected  void destroy()
           
 Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
protected  DatasetType getForegroundDatasetType()
           
 int getRowCount()
           
 Object getValueAt(int tableRowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
           
protected  void setValueAt(Object newValue, int rowIndex, int columnIndex, boolean undoable)
           
 void tableDataIdsUpdated()
           
 void tableDataSelectionUpdated()
           
 void updateTableData(List<? extends Comparable<?>> updatedIds)
          Notified from entity data provider about changes in underlying records.
 
Methods inherited from class com.im.ijc.widgets.table.TableWidgetModel
getField, getFields, getTable, getVertexState, setWBTable
 
Methods inherited from class com.im.ijc.widgets.common.table.AbstractIJCTableModel
getDatasetAwareIndexes, getForegroundRowCount, getIndexWithinVertexState
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

destroy

protected void destroy()
Overrides:
destroy in class TableWidgetModel<WBTable>

createEntityListener

protected PropertyChangeListener createEntityListener()
Specified by:
createEntityListener in class TableWidgetModel<WBTable>

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getValueAt

public Object getValueAt(int tableRowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

getColumnClass

public Class<?> getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel

setValueAt

protected void setValueAt(Object newValue,
                          int rowIndex,
                          int columnIndex,
                          boolean undoable)

updateTableData

public void updateTableData(List<? extends Comparable<?>> updatedIds)
Description copied from class: TableWidgetModel
Notified from entity data provider about changes in underlying records.

Specified by:
updateTableData in class TableWidgetModel<WBTable>

dataFetched

public void dataFetched(int firstRow,
                        int lastRow)
Specified by:
dataFetched in interface VertexStateDataCache.FetchedDataConsumer

tableDataIdsUpdated

public void tableDataIdsUpdated()
Specified by:
tableDataIdsUpdated in class AbstractIJCTableModel

tableDataSelectionUpdated

public void tableDataSelectionUpdated()
Specified by:
tableDataSelectionUpdated in class AbstractIJCTableModel

getForegroundDatasetType

protected DatasetType getForegroundDatasetType()
Specified by:
getForegroundDatasetType in class AbstractIJCTableModel

com.im.ijc.widgets/1 5.9.1