Ejemplo 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);
  }
Ejemplo n.º 2
0
 /** Selects all Items of the Board */
 public void selectAllItems() {
   board.setSelectionCells(board.getItems());
 }