Class TableExCheckBoxRenderer

  • All Implemented Interfaces:

    public class TableExCheckBoxRenderer
    extends org.eclipse.nebula.widgets.grid.AbstractRenderer
    Checkbox cell renderer for TableEx
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description computeSize​( gc, int wHint, int hHint, Object value)  
      void paint​( gc, Object value)  
      void setEnable​(boolean enable)
      Set visibility of checkbox
      void setSelected​(boolean selected)
      Set state of checkbox
      • 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, setSize, setSize
    • Constructor Detail

      • TableExCheckBoxRenderer

        public TableExCheckBoxRenderer()
    • Method Detail

      • paint

        public void paint​( gc,
                          Object value)
      • computeSize

        public computeSize​( gc,
                                                          int wHint,
                                                          int hHint,
                                                          Object value)
      • setEnable

        public void setEnable​(boolean enable)
        Set visibility of checkbox
        enable - visibility
      • setSelected

        public void setSelected​(boolean selected)
        Set state of checkbox
        Specified by:
        setSelected in interface org.eclipse.nebula.widgets.grid.IRenderer
        setSelected in class org.eclipse.nebula.widgets.grid.AbstractRenderer
        selected - state