Class ColumnResizeDragMode
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.resize.mode.ColumnResizeDragMode
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
checkMinimumWidth
protected int
columnPositionToResize
protected int
currentX
protected int
gridColumnStartX
protected int
lastX
protected int
originalColumnWidth
protected IOverlayPainter
overlayPainter
protected int
startX
-
Constructor Summary
Constructors Constructor Description ColumnResizeDragMode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getColumnWidthMinimum()
void
mouseDown(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
void
mouseMove(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
void
mouseUp(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
mouseDown
public void mouseDown(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
-
mouseMove
public void mouseMove(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
-
mouseUp
public void mouseUp(NatTable natTable, org.eclipse.swt.events.MouseEvent event)
-
getColumnWidthMinimum
protected int getColumnWidthMinimum()
- Since:
- 1.3
-
-