Class ColumnResizeDragMode

java.lang.Object
org.eclipse.nebula.widgets.nattable.resize.mode.ColumnResizeDragMode
All Implemented Interfaces:
IDragMode

public class ColumnResizeDragMode extends Object implements IDragMode
Drag mode that will implement the column resizing process.
  • Field Details

    • columnPositionToResize

      protected int columnPositionToResize
    • originalColumnWidth

      protected int originalColumnWidth
    • startX

      protected int startX
    • currentX

      protected int currentX
    • lastX

      protected int lastX
    • gridColumnStartX

      protected int gridColumnStartX
    • checkMinimumWidth

      protected boolean checkMinimumWidth
    • overlayPainter

      protected final IOverlayPainter overlayPainter
  • Constructor Details

    • ColumnResizeDragMode

      public ColumnResizeDragMode()
  • Method Details

    • 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
    • getColumnWidthMinimum

      protected int getColumnWidthMinimum()
      Since:
      1.3