FileDocCategorySizeDatePackage
TableRowCore.javaAPI DocAzureus 3.0.3.43537Wed Jun 27 14:10:28 BST 2007com.aelitis.azureus.ui.common.table

TableRowCore

public interface TableRowCore implements org.gudy.azureus2.plugins.ui.tables.TableRow
Core Table Row functions are those available to plugins plus some core-only functions. The core-only functions are listed here.
author
TuxPaper
since
2.0.8.5 2004/May/14

Fields Summary
Constructors Summary
Methods Summary
public voiddelete()
Delete the row

public java.lang.ObjectgetDataSource(boolean bCoreObject)
Retrieve the Data Source related to this row

param
bCoreObject true - return a core object
false - return a plugin object
return
the Data Source Object related to the row

public intgetIndex()

public TableCellCoregetTableCellCore(java.lang.String field)
Retrieve a cell based on the supplied value

param
field Column name of the cell to be returned
return
TableCellCore object related to this row and the specified column

public TableViewgetView()

return

public voidinvalidate()
Invalidates Row

public voidinvokeMouseListeners(org.gudy.azureus2.plugins.ui.tables.TableRowMouseEvent event)

param
event
since
3.0.1.7

public booleanisRowDisposed()

public booleanisVisible()
Retreive whether the row is visible to the user. In SWT, when the table is not VIRTUAL, all rows are "visible"

return
visibility state

public voidlocationChanged(int iStartColumn)
Location of a column has changed

param
iStartColumn Cells starting at this value may need repainting XXX Rename to cellLocationChanged?

public voidredraw()
like refresh, except a different name to confuse us.

public java.util.Listrefresh(boolean bDoGraphics, boolean bVisible)

param
bDoGraphics
param
bVisible

public java.util.Listrefresh(boolean bDoGraphics)
Refresh all the cells in the row

param
bDoGraphics Refresh graphic cells to

public voidsetAlternatingBGColor(boolean bEvenIfNotVisible)

param
bEvenIfNotVisible

public booleansetHeight(int iHeight)
Adjust cell height. Don't use if any other column/cell uses setImage()

param
iHeight new Row Height. Will not reduce row's height (SWT)
return
success level

public voidsetSelected(boolean bSelected)

public booleansetTableItem(int newIndex)
Link the row to a SWT TableItem

param
newIndex new position row should be
return
false - already linked to that item at that index

public voidsetUpToDate(boolean upToDate)