public CsvUserCommands(Display display, Browsable table) { commands.Add("n", new NextPageCommand(display, table)); commands.Add(NEXT, new NextPageCommand(display, table)); commands.Add("p", new PreviousPageCommand(display, table)); commands.Add("previous", new PreviousPageCommand(display, table)); commands.Add("f", new FirstPageCommand(display, table)); commands.Add("first", new FirstPageCommand(display, table)); commands.Add("l", new LastPageCommand(display, table)); commands.Add("last", new LastPageCommand(display, table)); commands.Add("x", new ExitCommand()); commands.Add("exit", new ExitCommand()); }
public LastPageCommand(Display display, Browsable browsable) { this.display = display; this.browsable = browsable; }
public PreviousPageCommand(Display display, Browsable browsable) { this.display = display; this.browsable = browsable; }