com.limegroup.gnutella.gui.connection
Class ConnectionModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended bycom.limegroup.gnutella.gui.tables.BasicDataLineModel
          extended bycom.limegroup.gnutella.gui.connection.ConnectionModel
All Implemented Interfaces:
java.util.Comparator, DataLineModel, java.io.Serializable, javax.swing.table.TableModel

public final class ConnectionModel
extends BasicDataLineModel

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.limegroup.gnutella.gui.tables.BasicDataLineModel
_isSorted
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Method Summary
 DataLine createDataLine()
          Creates a new ConnectionDataLine
 java.lang.Object refresh()
          Override default update since we don't cache anything.
 
Methods inherited from class com.limegroup.gnutella.gui.tables.BasicDataLineModel
add, add, add, add, addSorted, addSorted, clear, compare, contains, contains, get, get, get, getColumnClass, getColumnCount, getColumnId, getColumnName, getNewDataLine, getRow, getRow, getRow, getRowCount, getSortColumn, getSortedPosition, getTableColumn, getToolTipArray, getValueAt, isSortAscending, isSorted, needsResort, remove, remove, remove, resort, setValueAt, sort, update
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, isCellEditable, removeTableModelListener
 

Method Detail

refresh

public java.lang.Object refresh()
Override default update since we don't cache anything. Specifically, we do NOT want to call update on the DataLine, since that will make it think it's no longer connecting.

Specified by:
refresh in interface DataLineModel
Overrides:
refresh in class BasicDataLineModel
Returns:
null

createDataLine

public DataLine createDataLine()
Creates a new ConnectionDataLine

Overrides:
createDataLine in class BasicDataLineModel