Class GridCellRenderer

  • All Implemented Interfaces:
    org.eclipse.nebula.widgets.grid.IInternalWidget, org.eclipse.nebula.widgets.grid.IRenderer

    public class GridCellRenderer
    extends org.eclipse.nebula.widgets.grid.internal.DefaultCellRenderer
    The renderer for a cell in Grid.
    • Field Summary

      • Fields inherited from interface org.eclipse.nebula.widgets.grid.IInternalWidget

        LeftMouseButtonDown, MouseMove
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void paint​(org.eclipse.swt.graphics.GC gc, Object value)  
      • Methods inherited from class org.eclipse.nebula.widgets.grid.internal.DefaultCellRenderer

        computeSize, getTextBounds, notify, setCheck, setTree
      • Methods inherited from class org.eclipse.nebula.widgets.grid.GridCellRenderer

        getAlignment, getColumn, getRow, isCellFocus, isCellSelected, isCheck, isColumnHover, isDragging, isRowFocus, isRowHover, isTree, isWordWrap, setAlignment, setCellFocus, setCellSelected, setColumn, setColumnHover, setDragging, setRow, setRowFocus, setRowHover, setWordWrap
      • Methods inherited from class org.eclipse.nebula.widgets.grid.AbstractInternalWidget

        getHoverDetail, setHoverDetail
      • Methods inherited from class org.eclipse.nebula.widgets.grid.AbstractRenderer

        getBounds, getDisplay, getSize, isExpanded, isFocus, isHover, isMouseDown, isSelected, setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
      • Methods inherited from interface org.eclipse.nebula.widgets.grid.IRenderer

        setBounds, setBounds, setDisplay, setExpanded, setFocus, setHover, setLocation, setLocation, setMouseDown, setSelected, setSize, setSize
    • Constructor Detail

      • GridCellRenderer

        public GridCellRenderer()
    • Method Detail

      • paint

        public void paint​(org.eclipse.swt.graphics.GC gc,
                          Object value)
        Specified by:
        paint in interface org.eclipse.nebula.widgets.grid.IRenderer
        Overrides:
        paint in class org.eclipse.nebula.widgets.grid.internal.DefaultCellRenderer