org.xnap.plugin.limewire
Class LimeWireConnectionTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.xnap.gui.table.AbstractSortableTableModel
org.xnap.gui.table.AbstractColumnTableModel
org.xnap.plugin.limewire.LimeWireConnectionTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel, ColumnModel, SortableModel
public class LimeWireConnectionTableModel
- extends AbstractColumnTableModel
Table model for ManagedConnection
objects.
FIX: the connections that have been initialized before the gui
was visible are not displayed in the table
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Method Summary |
void |
add(com.limegroup.gnutella.ManagedConnection c)
|
java.lang.Object |
get(int i,
int j)
|
java.lang.String |
getIO(long in,
long out)
|
int |
getRowCount()
|
void |
remove(com.limegroup.gnutella.ManagedConnection c)
|
void |
setConnected(boolean connected)
|
void |
update(com.limegroup.gnutella.ManagedConnection c)
|
Methods inherited from class org.xnap.gui.table.AbstractSortableTableModel |
compare, compareRowsByColumn, fireTableChanged, getSortedColumn, getValueAt, isCellEditable, isSortedAscending, mapToDtmIndex, mapToIndex, n2sort, reallocateIndexes, reallocateIndexes, resort, set, setMaintainSortOrder, setSortedAscending, setValueAt, shuttlesort, sort, sortByColumn, swap |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPDATE_INTERVAL
public static int UPDATE_INTERVAL
LimeWireConnectionTableModel
public LimeWireConnectionTableModel()
add
public void add(com.limegroup.gnutella.ManagedConnection c)
update
public void update(com.limegroup.gnutella.ManagedConnection c)
- Parameters:
c
-
remove
public void remove(com.limegroup.gnutella.ManagedConnection c)
- Parameters:
c
-
getRowCount
public int getRowCount()
get
public java.lang.Object get(int i,
int j)
- Specified by:
get
in class AbstractSortableTableModel
getIO
public java.lang.String getIO(long in,
long out)
setConnected
public void setConnected(boolean connected)
Copyright © 2001-2005 XNap Team. All Rights Reserved.