com.bonevich.erj.ui.editor
Class AttributeTableModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--com.bonevich.erj.ui.editor.AttributeTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public final class AttributeTableModel
extends javax.swing.table.AbstractTableModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AttributeTableModel()
           
 
Method Summary
 void clearRows()
           
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 Attribute getRow(int row)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 void setRow(Attribute attr)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, 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

AttributeTableModel

public AttributeTableModel()
Method Detail

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getColumnName

public java.lang.String getColumnName(int col)
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel

getRow

public Attribute getRow(int row)

setRow

public void setRow(Attribute attr)

clearRows

public void clearRows()


Copyright © 2001-2003 bonevich.com. All Rights Reserved.