Class ShowRowInViewportCommand

java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
org.eclipse.nebula.widgets.nattable.viewport.command.ShowRowInViewportCommand
All Implemented Interfaces:
ILayerCommand

public class ShowRowInViewportCommand extends AbstractContextFreeCommand
Command to show a row position in the viewport.
  • 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.