com.tirsen.angkor.table
Class DefaultTableModel
java.lang.Object
|
+--com.tirsen.angkor.table.AbstractTableModel
|
+--com.tirsen.angkor.table.DefaultTableModel
- All Implemented Interfaces:
- ChangeSource, java.io.Serializable, TableModel
- public class DefaultTableModel
- extends AbstractTableModel
- Version:
- $Revision: 1.5 $
$Id: DefaultTableModel.java,v 1.5 2002/10/09 21:37:37 tirsen Exp $
- Author:
- $Author: tirsen $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTableModel
public DefaultTableModel()
addColumn
public void addColumn(java.lang.String name)
addRow
public void addRow(java.lang.Object[] columnValues)
- Adds a row to the end of this table.
setRow
public void setRow(int row,
java.lang.Object[] columnValues)
getColumnName
public java.lang.String getColumnName(int column)
getValueAt
public ValueModel getValueAt(int row,
int column)
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface TableModel
- Overrides:
getRowCount
in class AbstractTableModel
empty
public void empty()
- Overrides:
empty
in class AbstractTableModel
Copyright © 2002-2002 . All Rights Reserved.