Class RowResizeDragMode

  • All Implemented Interfaces:
    IDragMode

    public class RowResizeDragMode
    extends Object
    implements IDragMode
    Drag mode that will implement the row resizing process.
    • Field Detail

      • gridRowPositionToResize

        protected int gridRowPositionToResize
      • originalRowHeight

        protected int originalRowHeight
      • startY

        protected int startY
      • currentY

        protected int currentY
      • lastY

        protected int lastY
      • gridRowStartY

        protected int gridRowStartY
      • checkMinimumWidth

        protected boolean checkMinimumWidth
    • Constructor Detail

      • RowResizeDragMode

        public RowResizeDragMode()
    • Method Detail

      • mouseDown

        public void mouseDown​(NatTable natTable,
                              org.eclipse.swt.events.MouseEvent event)
        Specified by:
        mouseDown in interface IDragMode
      • mouseMove

        public void mouseMove​(NatTable natTable,
                              org.eclipse.swt.events.MouseEvent event)
        Specified by:
        mouseMove in interface IDragMode
      • mouseUp

        public void mouseUp​(NatTable natTable,
                            org.eclipse.swt.events.MouseEvent event)
        Specified by:
        mouseUp in interface IDragMode
      • getRowHeightMinimum

        public int getRowHeightMinimum()