Class GridViewerRow

java.lang.Object
ViewerRow
org.eclipse.nebula.jface.gridviewer.GridViewerRow

public class GridViewerRow extends ViewerRow
GridViewerRow is the concrete implementation of the part that represents items in a Grid.
  • Method Details

    • getBounds

      public Rectangle getBounds(int columnIndex)
    • getBounds

      public Rectangle getBounds()
    • getColumnCount

      public int getColumnCount()
    • getBackground

      public Color getBackground(int columnIndex)
    • getFont

      public Font getFont(int columnIndex)
    • getForeground

      public Color getForeground(int columnIndex)
    • getImage

      public Image getImage(int columnIndex)
    • getText

      public String getText(int columnIndex)
    • setBackground

      public void setBackground(int columnIndex, Color color)
    • setFont

      public void setFont(int columnIndex, Font font)
    • setForeground

      public void setForeground(int columnIndex, Color color)
    • setImage

      public void setImage(int columnIndex, Image image)
    • setText

      public void setText(int columnIndex, String text)
    • getControl

      public Control getControl()
    • getNeighbor

      public ViewerRow getNeighbor(int direction, boolean sameLevel)
    • getTreePath

      public TreePath getTreePath()
    • clone

      public Object clone()
    • getElement

      public Object getElement()
    • getItem

      public Widget getItem()
    • getVisualIndex

      public int getVisualIndex(int creationIndex)
    • getCreationIndex

      public int getCreationIndex(int visualIndex)
    • isColumnVisible

      protected boolean isColumnVisible(int columnIndex)
      Check if the column of the cell is part of is visible
      Parameters:
      columnIndex - the column index
      Returns:
      true if the column is visible