Class NextPageCommand

All Implemented Interfaces:
Command

public final class NextPageCommand extends com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
Command that navigates to the next page.

Positioning of the visible rectangle is configured via PageView.setVisibleRectPositionOnPageChange(VisibleRectPositioningStrategy).

  • Constructor Details

    • NextPageCommand

      public NextPageCommand()
  • Method Details

    • getTargetPage

      protected int getTargetPage()
      Specified by:
      getTargetPage in class com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand
    • execute

      protected void execute()
      Description copied from class: InjectedCommand
      This method is called in order to execute the command. It is only called, after the arguments have been validated and injected and only if InjectedCommand.canExecute() has returned true.
      Overrides:
      execute in class com.levigo.jadice.web.client.commands.internal.AbstractSetCurrentPageCommand