com.limegroup.gnutella.gui.connection
Class ConnectionDataLine

java.lang.Object
  extended bycom.limegroup.gnutella.gui.tables.AbstractDataLine
      extended bycom.limegroup.gnutella.gui.connection.ConnectionDataLine
All Implemented Interfaces:
DataLine

public final class ConnectionDataLine
extends AbstractDataLine


Field Summary
 
Fields inherited from class com.limegroup.gnutella.gui.tables.AbstractDataLine
initializer
 
Constructor Summary
ConnectionDataLine()
           
 
Method Summary
 LimeTableColumn getColumn(int idx)
          Return the table column for this index.
 int getColumnCount()
          Number of columns
 java.lang.String[] getToolTipArray()
          Returns the ToolTip text for this DataLine.
 java.lang.Object getValueAt(int idx)
          Returns the value for the specified index.
 void initialize(java.lang.Object conn)
          Sets up the dataline for use with the connection
 boolean isDynamic(int idx)
          Returns whether or not this column can change on subsequent updates to the DataLine
 void update()
          Updates this connection from a 'connecting' to a 'connected' state.
 
Methods inherited from class com.limegroup.gnutella.gui.tables.AbstractDataLine
cleanup, getInitializeObject, setInitializeObject, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionDataLine

public ConnectionDataLine()
Method Detail

getColumnCount

public int getColumnCount()
Number of columns


initialize

public void initialize(java.lang.Object conn)
Sets up the dataline for use with the connection

Specified by:
initialize in interface DataLine
Overrides:
initialize in class AbstractDataLine

getValueAt

public java.lang.Object getValueAt(int idx)
Returns the value for the specified index.


getColumn

public LimeTableColumn getColumn(int idx)
Return the table column for this index.


isDynamic

public boolean isDynamic(int idx)
Description copied from interface: DataLine
Returns whether or not this column can change on subsequent updates to the DataLine


update

public void update()
Updates this connection from a 'connecting' to a 'connected' state.

Specified by:
update in interface DataLine
Overrides:
update in class AbstractDataLine

getToolTipArray

public java.lang.String[] getToolTipArray()
Returns the ToolTip text for this DataLine. Display some of the finer connection information.

Specified by:
getToolTipArray in interface DataLine
Overrides:
getToolTipArray in class AbstractDataLine