FileDocCategorySizeDatePackage
TableCellSWT.javaAPI DocAzureus 3.0.3.42365Sun Aug 12 10:51:50 BST 2007org.gudy.azureus2.ui.swt.views.table

TableCellSWT

public interface TableCellSWT implements com.aelitis.azureus.ui.common.table.TableCellCore
SWT specific functions for Table Cells SWT cells are split into two logical sections: a BufferedTableItem that handles the actual drawing, and this class' implementor, which handles listeners, checking to see if things are right, buffering, etc.
author
TuxPaper
created
Jan 22, 2007

Fields Summary
Constructors Summary
Methods Summary
public voiddoPaint(GC gc)
Paint the cell (for graphics)

param
gc GC object to be used for painting

public ImagegetBackgroundImage()

return

public RectanglegetBounds()

public org.gudy.azureus2.ui.swt.components.BufferedTableItemgetBufferedTableItem()

return

public ColorgetForegroundSWT()

return

public ImagegetGraphicSWT()

public ImagegetIcon()

return

public PointgetSize()

public TableRowSWTgetTableRowSWT()

return

public booleansetForeground(Color color)
Change the cell's foreground color. NOTE: favor (R, G, B)

param
color SWT Color object.
return
True - Color changed.
False - Color was already set.

public booleansetGraphic(Image img)

public booleansetIcon(Image img)
Set the cell's icon

param
img Cell's new icon
return
true if the icon will be used