Class ShowCellInViewportCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
org.eclipse.nebula.widgets.nattable.viewport.command.ShowCellInViewportCommand
- All Implemented Interfaces:
ILayerCommand
Command to show a cell in the viewport.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
cloneCommand, convertToTargetLayer
-
Constructor Details
-
ShowCellInViewportCommand
public ShowCellInViewportCommand(int columnPosition, int rowPosition) - Parameters:
columnPosition
- The column position in the underlying layer of the ViewportLayer that should be shown in the viewport.rowPosition
- The row position in the underlying layer of the ViewportLayer that should be shown in the viewport.- Since:
- 1.6
-
-
Method Details
-
getColumnPosition
public int getColumnPosition()- Returns:
- The column position in the layer below the ViewportLayer to be shown.
-
getRowPosition
public int getRowPosition()- Returns:
- The row position in the layer below the ViewportLayer to be shown.
-