|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.gui.tables.AbstractDataLine
com.limegroup.gnutella.gui.download.DownloadDataLine
This class handles all of the data for a single download, representing one "line" in the download window. It continually updates the displayed data for the download from the contained Downloader instance.
| Field Summary |
| Fields inherited from class com.limegroup.gnutella.gui.tables.AbstractDataLine |
initializer |
| Constructor Summary | |
DownloadDataLine()
|
|
| Method Summary | |
void |
cleanup()
Tell the downloader to close its sockets. |
LimeTableColumn |
getColumn(int idx)
Return the LimeTableColumn for this column. |
int |
getColumnCount()
Return the number of columns this dataline controls. |
java.lang.String[] |
getToolTipArray()
By default, DataLines will have no tooltip. |
java.lang.Object |
getValueAt(int index)
Returns the Object stored at the specified column in this line of data. |
void |
initialize(java.lang.Object downloader)
Must initialize data. |
boolean |
isDynamic(int idx)
Returns whether or not this column can change on subsequent updates to the DataLine |
void |
update()
Updates all of the data for this download, obtaining fresh information from the contained Downloader instance. |
| Methods inherited from class com.limegroup.gnutella.gui.tables.AbstractDataLine |
getInitializeObject, setInitializeObject, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DownloadDataLine()
| Method Detail |
public int getColumnCount()
DataLine
public void initialize(java.lang.Object downloader)
initialize in interface DataLineinitialize in class AbstractDataLinedownloader - the Downloader
that provides access to
information about the downloadpublic void cleanup()
cleanup in interface DataLinecleanup in class AbstractDataLinepublic java.lang.Object getValueAt(int index)
index - the index of the column to retrieve data from
public LimeTableColumn getColumn(int idx)
DataLine
public java.lang.String[] getToolTipArray()
AbstractDataLine
getToolTipArray in interface DataLinegetToolTipArray in class AbstractDataLinepublic boolean isDynamic(int idx)
DataLine
public void update()
update in interface DataLineupdate in class AbstractDataLine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||