Class AMutableTableModel

  extended by javax.swing.table.AbstractTableModel
      extended by org.rimudb.editor.swing.ATableModel
          extended by org.rimudb.editor.swing.AMutableTableModel
All Implemented Interfaces:, javax.swing.table.TableModel
Direct Known Subclasses:

public abstract class AMutableTableModel
extends ATableModel

This class extends ATableModel to add methods to manage the data contained in the model.

See Also:
Serialized Form

Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
Constructor Summary
Method Summary
abstract  java.lang.Object getRow(int rowIndex)
          Return the data at the row specified by rowIndex.
abstract  void insertRow(int rowIndex, java.lang.Object obj)
          Insert the data before the row specified by rowIndex.
abstract  void removeRow(int rowIndex)
          Remove the data from the row specified by rowIndex.
Methods inherited from class org.rimudb.editor.swing.ATableModel
getColumnFixedWidth, getColumnWidthPercent
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


public AMutableTableModel()
Method Detail


public abstract void removeRow(int rowIndex)
Remove the data from the row specified by rowIndex.


public abstract void insertRow(int rowIndex,
                               java.lang.Object obj)
Insert the data before the row specified by rowIndex.


public abstract java.lang.Object getRow(int rowIndex)
Return the data at the row specified by rowIndex.

Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.