org.rimudb.editor.swing
Class AMutableTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.rimudb.editor.swing.ATableModel
          extended by org.rimudb.editor.swing.AMutableTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Direct Known Subclasses:
LookupDialog.ListModel

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
listenerList
 
Constructor Summary
AMutableTableModel()
           
 
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

AMutableTableModel

public AMutableTableModel()
Method Detail

removeRow

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


insertRow

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


getRow

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.