Class GridViewerRow

All Implemented Interfaces:

public class GridViewerRow
extends org.eclipse.jface.viewers.ViewerRow
GridViewerRow is the concrete implementation of the part that represents items in a Grid.
  • Field Summary

    Fields inherited from class org.eclipse.jface.viewers.ViewerRow

  • Constructor Summary

    Constructor Description
    GridViewerRow​(GridItem item)
    Create a new instance of the receiver.
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object clone() getBackground​(int columnIndex) getBounds() getBounds​(int columnIndex)
    int getColumnCount()
    org.eclipse.swt.widgets.Control getControl()
    java.lang.Object getElement() getFont​(int columnIndex) getForeground​(int columnIndex) getImage​(int columnIndex)
    org.eclipse.swt.widgets.Widget getItem()  
    org.eclipse.jface.viewers.ViewerRow getNeighbor​(int direction, boolean sameLevel)  
    java.lang.String getText​(int columnIndex)
    org.eclipse.jface.viewers.TreePath getTreePath()  
    void setBackground​(int columnIndex, color)
    void setFont​(int columnIndex, font)
    void setForeground​(int columnIndex, color)
    void setImage​(int columnIndex, image)
    (package private) void setItem​(GridItem item)  
    void setText​(int columnIndex, java.lang.String text)

    Methods inherited from class org.eclipse.jface.viewers.ViewerRow

    equals, getCell, getCell, getColumnIndex, getCreationIndex, getImageBounds, getStyleRanges, getTextBounds, getVisualIndex, hashCode, isColumnVisible, scrollCellIntoView, setStyleRanges

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GridViewerRow

      GridViewerRow​(GridItem item)
      Create a new instance of the receiver.
      item - GridItem source.
  • Method Details

    • getBounds

      public getBounds​(int columnIndex)
      Specified by:
      getBounds in class org.eclipse.jface.viewers.ViewerRow
    • getBounds

      public getBounds()
      Specified by:
      getBounds in class org.eclipse.jface.viewers.ViewerRow
    • getColumnCount

      public int getColumnCount()
      Specified by:
      getColumnCount in class org.eclipse.jface.viewers.ViewerRow
    • getBackground

      public getBackground​(int columnIndex)
      Specified by:
      getBackground in class org.eclipse.jface.viewers.ViewerRow
    • getFont

      public getFont​(int columnIndex)
      Specified by:
      getFont in class org.eclipse.jface.viewers.ViewerRow
    • getForeground

      public getForeground​(int columnIndex)
      Specified by:
      getForeground in class org.eclipse.jface.viewers.ViewerRow
    • getImage

      public getImage​(int columnIndex)
      Specified by:
      getImage in class org.eclipse.jface.viewers.ViewerRow
    • getText

      public java.lang.String getText​(int columnIndex)
      Specified by:
      getText in class org.eclipse.jface.viewers.ViewerRow
    • setBackground

      public void setBackground​(int columnIndex, color)
      Specified by:
      setBackground in class org.eclipse.jface.viewers.ViewerRow
    • setFont

      public void setFont​(int columnIndex, font)
      Specified by:
      setFont in class org.eclipse.jface.viewers.ViewerRow
    • setForeground

      public void setForeground​(int columnIndex, color)
      Specified by:
      setForeground in class org.eclipse.jface.viewers.ViewerRow
    • setImage

      public void setImage​(int columnIndex, image)
      Specified by:
      setImage in class org.eclipse.jface.viewers.ViewerRow
    • setText

      public void setText​(int columnIndex, java.lang.String text)
      Specified by:
      setText in class org.eclipse.jface.viewers.ViewerRow
    • getControl

      public org.eclipse.swt.widgets.Control getControl()
      Specified by:
      getControl in class org.eclipse.jface.viewers.ViewerRow
    • getNeighbor

      public org.eclipse.jface.viewers.ViewerRow getNeighbor​(int direction, boolean sameLevel)
      Specified by:
      getNeighbor in class org.eclipse.jface.viewers.ViewerRow
    • getTreePath

      public org.eclipse.jface.viewers.TreePath getTreePath()
      Specified by:
      getTreePath in class org.eclipse.jface.viewers.ViewerRow
    • clone

      public java.lang.Object clone()
      Specified by:
      clone in class org.eclipse.jface.viewers.ViewerRow
    • getElement

      public java.lang.Object getElement()
      Specified by:
      getElement in class org.eclipse.jface.viewers.ViewerRow
    • setItem

      void setItem​(GridItem item)
    • getItem

      public org.eclipse.swt.widgets.Widget getItem()
      Specified by:
      getItem in class org.eclipse.jface.viewers.ViewerRow