org.gudy.azureus2.ui.swt.components
Interface BufferedTableItem

All Known Implementing Classes:
BufferedGraphicTableItem1, BufferedTableItemImpl

public interface BufferedTableItem

Author:
TuxPaper

Method Summary
 void dispose()
           
 org.eclipse.swt.graphics.Color getBackground()
           
 org.eclipse.swt.graphics.Image getBackgroundImage()
           
 org.eclipse.swt.graphics.Rectangle getBounds()
           
 org.eclipse.swt.graphics.Rectangle getBoundsRaw()
           
 org.eclipse.swt.graphics.Color getForeground()
           
 int getHeight()
           
 org.eclipse.swt.graphics.Image getIcon()
           
 int getMaxLines()
          # of lines item can handle
 int getPosition()
           
 String getText()
           
 void invalidate()
           
 boolean isInPaintItem()
           
 boolean isMouseOver()
           
 boolean isShown()
          Is the cell currently shown on the screen?
 void locationChanged()
          Column location (not position) changed.
 boolean needsPainting()
           
 void redraw()
          Set to redraw at the next OS paint
 void refresh()
           
 void setCursor(int cursorID)
           
 boolean setForeground(org.eclipse.swt.graphics.Color color)
           
 boolean setForeground(int red, int green, int blue)
           
 void setIcon(org.eclipse.swt.graphics.Image img)
           
 void setRowForeground(org.eclipse.swt.graphics.Color color)
           
 boolean setText(String text)
           
 

Method Detail

getText

String getText()

setText

boolean setText(String text)

getIcon

org.eclipse.swt.graphics.Image getIcon()

setIcon

void setIcon(org.eclipse.swt.graphics.Image img)

setRowForeground

void setRowForeground(org.eclipse.swt.graphics.Color color)

setForeground

boolean setForeground(org.eclipse.swt.graphics.Color color)

setForeground

boolean setForeground(int red,
                      int green,
                      int blue)

getBackground

org.eclipse.swt.graphics.Color getBackground()

getBounds

org.eclipse.swt.graphics.Rectangle getBounds()

getBoundsRaw

org.eclipse.swt.graphics.Rectangle getBoundsRaw()

refresh

void refresh()

dispose

void dispose()

isShown

boolean isShown()
Is the cell currently shown on the screen?

Returns:

needsPainting

boolean needsPainting()

locationChanged

void locationChanged()
Column location (not position) changed. Usually due to a resize of a column in a position prior to this one.


getPosition

int getPosition()

getBackgroundImage

org.eclipse.swt.graphics.Image getBackgroundImage()

getForeground

org.eclipse.swt.graphics.Color getForeground()
Returns:

invalidate

void invalidate()

redraw

void redraw()
Set to redraw at the next OS paint


getMaxLines

int getMaxLines()
# of lines item can handle

Returns:
Since:
3.0.1.1

setCursor

void setCursor(int cursorID)
Parameters:
cursorID -
Since:
3.0.4.3

isMouseOver

boolean isMouseOver()
Since:
3.0.5.3

isInPaintItem

boolean isInPaintItem()
Returns:
Since:
4.5.1.1

getHeight

int getHeight()
Returns:
Since:
4.6.0.5