| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TableRow
This interface provides access to an Azureus table row.
| Method Summary | |
|---|---|
|  void | addMouseListener(TableRowMouseListener listener)Adds a listener that triggers when this TableRow has a mouse event. | 
|  java.lang.Object | getData(java.lang.String id)Get a previously stored value | 
|  java.lang.Object | getDataSource()Retrieve the data object associated with the current table row. | 
|  int | getIndex() | 
|  TableCell | getTableCell(java.lang.String sColumnName)Retrieve a cell based on its column name | 
|  java.lang.String | getTableID()Returns which table the row is being displayed in. | 
|  TableView<?> | getView() | 
|  boolean | isSelected()Retrieve whether the row is selected by the user | 
|  boolean | isValid()Validility of the row's cells. | 
|  void | removeMouseListener(TableRowMouseListener listener)Remove a previously added TableRowMouseListener | 
|  void | setData(java.lang.String id,
        java.lang.Object data)Store a value against the table row | 
|  void | setForeground(int[] rgb)Change the row's foreground color | 
|  void | setForeground(int red,
              int green,
              int blue)Change the row's foreground color. | 
|  void | setForegroundToErrorColor()Change the row's foreground color to the user's defined "error" color. | 
| Method Detail | 
|---|
java.lang.Object getDataSource()
Download
                       object for the current rowPeer 
                        object for the current rowDiskManagerFileInfo
                        object for the current rowTrackerTorrent
                    object for the current rowShareResource
                    object for the current rowjava.lang.String getTableID()
TableManager.TABLE_* constantTableView<?> getView()
int getIndex()
void setForeground(int red,
                   int green,
                   int blue)
red - red value (0 - 255)green - green value (0 - 255)blue - blue value (0 - 255)void setForeground(int[] rgb)
rgb - int array of red, green, and blue values.  Null to reset to
            default colorvoid setForegroundToErrorColor()
boolean isValid()
TableCell getTableCell(java.lang.String sColumnName)
sColumnName - Name/ID of column
boolean isSelected()
void addMouseListener(TableRowMouseListener listener)
listener - void removeMouseListener(TableRowMouseListener listener)
listener - Previously added listenerjava.lang.Object getData(java.lang.String id)
id - 
void setData(java.lang.String id,
             java.lang.Object data)
id - data - | 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||