Class GridViewerRow

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

      • getBounds

        public Rectangle getBounds​(int columnIndex)
      • 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 java.lang.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,
                            java.lang.String text)
      • getControl

        public Control getControl()
      • getNeighbor

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

        public TreePath getTreePath()
      • clone

        public java.lang.Object clone()
      • getElement

        public java.lang.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
        columnIndex - the column index
        true if the column is visible