コード例 #1
0
 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());
 }
コード例 #2
0
 public LastPageCommand(Display display, Browsable browsable)
 {
     this.display = display;
     this.browsable = browsable;
 }
コード例 #3
0
 public PreviousPageCommand(Display display, Browsable browsable)
 {
     this.display = display;
     this.browsable = browsable;
 }