base.jdbs.ui
Class PeerTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by base.jdbs.ui.PeerTableModel
All Implemented Interfaces:
java.io.Serializable, java.util.Observer, javax.swing.table.TableModel

public class PeerTableModel
extends javax.swing.table.AbstractTableModel
implements java.util.Observer

See Also:
Serialized Form

Field Summary
static int PEER_ID_COLUMN
           
static int PEER_LOCATION_COLUMN
           
static int PEER_NAME_COLUMN
           
static int PEER_PING_COLUMN
           
static int PEER_SPACE_COLUMN
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
PeerTableModel()
           
 
Method Summary
 java.lang.Class getColumnClass(int column)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 void update(java.util.Observable arg0, java.lang.Object arg1)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PEER_ID_COLUMN

public static final int PEER_ID_COLUMN
See Also:
Constant Field Values

PEER_NAME_COLUMN

public static final int PEER_NAME_COLUMN
See Also:
Constant Field Values

PEER_LOCATION_COLUMN

public static final int PEER_LOCATION_COLUMN
See Also:
Constant Field Values

PEER_SPACE_COLUMN

public static final int PEER_SPACE_COLUMN
See Also:
Constant Field Values

PEER_PING_COLUMN

public static final int PEER_PING_COLUMN
See Also:
Constant Field Values
Constructor Detail

PeerTableModel

public PeerTableModel()
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel

getColumnName

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

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
Specified by:
getValueAt in interface javax.swing.table.TableModel

getColumnClass

public java.lang.Class getColumnClass(int column)
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

update

public void update(java.util.Observable arg0,
                   java.lang.Object arg1)
Specified by:
update in interface java.util.Observer


Copyright © 2006 SF.net. All Rights Reserved.