org.xnap.plugin.azureus
Class AzureusTrackerTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.xnap.gui.table.AbstractSortableTableModel
          extended by org.xnap.gui.table.AbstractColumnTableModel
              extended by org.xnap.plugin.azureus.AzureusTrackerTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel, org.gudy.azureus2.core3.tracker.host.TRHostListener, ColumnModel, SortableModel

public class AzureusTrackerTableModel
extends AbstractColumnTableModel
implements org.gudy.azureus2.core3.tracker.host.TRHostListener

Table model for objects.

See Also:
Serialized Form

Field Summary
 
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
AzureusTrackerTableModel()
           
 
Method Summary
 java.lang.Object get(int i, int j)
           
 int getRowCount()
           
 java.lang.String getStatus(int status)
           
 boolean handleExternalRequest(java.lang.String client_address, java.lang.String url, java.lang.String header, java.io.InputStream is, java.io.OutputStream os)
           
 void torrentAdded(org.gudy.azureus2.core3.tracker.host.TRHostTorrent t)
           
 void torrentChanged(org.gudy.azureus2.core3.tracker.host.TRHostTorrent t)
           
 void torrentRemoved(org.gudy.azureus2.core3.tracker.host.TRHostTorrent t)
           
 
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
 

Constructor Detail

AzureusTrackerTableModel

public AzureusTrackerTableModel()
Method Detail

getRowCount

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

get

public java.lang.Object get(int i,
                            int j)
Specified by:
get in class AbstractSortableTableModel

getStatus

public java.lang.String getStatus(int status)

torrentAdded

public void torrentAdded(org.gudy.azureus2.core3.tracker.host.TRHostTorrent t)
Specified by:
torrentAdded in interface org.gudy.azureus2.core3.tracker.host.TRHostListener
See Also:
TRHostListener.torrentAdded(org.gudy.azureus2.core3.tracker.host.TRHostTorrent)

torrentChanged

public void torrentChanged(org.gudy.azureus2.core3.tracker.host.TRHostTorrent t)
Specified by:
torrentChanged in interface org.gudy.azureus2.core3.tracker.host.TRHostListener
See Also:
TRHostListener.torrentChanged(org.gudy.azureus2.core3.tracker.host.TRHostTorrent)

torrentRemoved

public void torrentRemoved(org.gudy.azureus2.core3.tracker.host.TRHostTorrent t)
Specified by:
torrentRemoved in interface org.gudy.azureus2.core3.tracker.host.TRHostListener
See Also:
TRHostListener.torrentRemoved(org.gudy.azureus2.core3.tracker.host.TRHostTorrent)

handleExternalRequest

public boolean handleExternalRequest(java.lang.String client_address,
                                     java.lang.String url,
                                     java.lang.String header,
                                     java.io.InputStream is,
                                     java.io.OutputStream os)
                              throws java.io.IOException
Specified by:
handleExternalRequest in interface org.gudy.azureus2.core3.tracker.host.TRHostListener
Throws:
java.io.IOException
See Also:
TRHostListener.handleExternalRequest(java.lang.String, java.lang.String, java.lang.String, java.io.InputStream, java.io.OutputStream)


Copyright © 2001-2005 XNap Team. All Rights Reserved.