Interface TableCellSWT

All Superinterfaces:
Comparable, TableCell, TableCellCore
All Known Implementing Classes:
FakeTableCell, TableCellPainted, TableCellSWTBase

public interface TableCellSWT extends TableCellCore
SWT specific functions for Table Cells
  • Method Details

    • setForeground

      boolean setForeground(org.eclipse.swt.graphics.Color color)
      Change the cell's foreground color. NOTE: favor (R, G, B)
      Parameters:
      color - SWT Color object.
      Returns:
      True - Color changed.
      False - Color was already set.
    • getIcon

      org.eclipse.swt.graphics.Image getIcon()
      Returns:
    • setIcon

      boolean setIcon(org.eclipse.swt.graphics.Image img)
      Set the cell's icon
      Parameters:
      img - Cell's new icon
      Returns:
      true if the icon will be used
    • doPaint

      void doPaint(org.eclipse.swt.graphics.GC gc)
      Paint the cell (for graphics)
      Parameters:
      gc - GC object to be used for painting
    • getSize

      org.eclipse.swt.graphics.Point getSize()
    • getBounds

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

      org.eclipse.swt.graphics.Rectangle getBoundsOnDisplay()
    • setGraphic

      boolean setGraphic(org.eclipse.swt.graphics.Image img)
    • getGraphicSWT

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

      org.eclipse.swt.graphics.Image getBackgroundImage()
      Returns:
    • getForegroundSWT

      org.eclipse.swt.graphics.Color getForegroundSWT()
      Returns:
    • getTableRowSWT

      TableRowSWT getTableRowSWT()
      Returns:
    • getBackgroundSWT

      org.eclipse.swt.graphics.Color getBackgroundSWT()
      Returns:
      Since:
      3.0.3.4
    • getTextAlpha

      int getTextAlpha()
      Returns:
      Since:
      3.1.1.1
    • setTextAlpha

      void setTextAlpha(int textOpacity)
      Parameters:
      textOpacity -
      Since:
      3.1.1.1
    • setMouseOver

      void setMouseOver(boolean b)