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