|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.xnap.gui.table.AbstractSortableTableModel org.xnap.gui.table.AbstractColumnTableModel org.xnap.gui.table.PeerTableModel
public class PeerTableModel
Provides a table model for Peer
objects.
Field Summary | |
---|---|
protected java.util.ArrayList |
rows
|
Fields inherited from class org.xnap.gui.table.AbstractColumnTableModel |
---|
columns |
Fields inherited from class org.xnap.gui.table.AbstractSortableTableModel |
---|
ascending, compares, indexes, lastSortedColumn, maintainSortOrder, revIndexes, sortingColumns |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
PeerTableModel()
|
Method Summary | |
---|---|
void |
add(Peer u)
|
void |
add(Peer u,
boolean filterDuplicates)
|
void |
clear()
|
boolean |
contains(Peer u)
|
Peer |
get(int i)
|
java.lang.Object |
get(int i,
int j)
|
int |
getRowCount()
|
int |
indexOf(Peer u)
|
void |
remove(Peer u)
|
Methods inherited from class org.xnap.gui.table.AbstractColumnTableModel |
---|
addColumn, addColumns, createColumnMenu, createTable, getColumnAt, getColumnClass, getColumnCount, getColumnName |
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 |
Field Detail |
---|
protected java.util.ArrayList rows
Constructor Detail |
---|
public PeerTableModel()
Method Detail |
---|
public void add(Peer u, boolean filterDuplicates)
public void add(Peer u)
public void clear()
public boolean contains(Peer u)
public Peer get(int i)
public int getRowCount()
public java.lang.Object get(int i, int j)
get
in class AbstractSortableTableModel
public int indexOf(Peer u)
public void remove(Peer u)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |