Exemplo n.º 1
0
  /** Deletes all Items on the Board */
  public void clear() {

    ItemComponent[] items = board.getItems();
    DeleteCommand del = new DeleteCommand(items);
    ArrayList<Command> actCommands = new ArrayList<Command>();
    actCommands.add(del);
    tbe.addCommands(actCommands);
    board.removeItem(items);
  }
Exemplo n.º 2
0
 /** Selects all Items of the Board */
 public void selectAllItems() {
   board.setSelectionCells(board.getItems());
 }