ptolemy.actor.gui
Class ArrayOfRecordsPane.EmptyTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by ptolemy.actor.gui.ArrayOfRecordsPane.EmptyTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
ArrayOfRecordsPane

private static class ArrayOfRecordsPane.EmptyTableModel
extends javax.swing.table.AbstractTableModel

This class provides an implementation of the TableModel interface representing an empty table. This is used to clear the display.


Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
private ArrayOfRecordsPane.EmptyTableModel()
           
 
Method Summary
 int getColumnCount()
          Get the column count of the Matrix.
 int getRowCount()
          Get the row count of the Matrix.
 java.lang.Object getValueAt(int row, int column)
          Get the specified entry from the matrix as a String.
 
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
 

Constructor Detail

ArrayOfRecordsPane.EmptyTableModel

private ArrayOfRecordsPane.EmptyTableModel()
Method Detail

getColumnCount

public int getColumnCount()
Get the column count of the Matrix.

Returns:
Zero.

getRowCount

public int getRowCount()
Get the row count of the Matrix.

Returns:
Zero.

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Get the specified entry from the matrix as a String.

Parameters:
row - The row number.
column - The column number.
Returns:
An empty String.