Class ShowCellInViewportCommand

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

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