3637383940414243444546
public void setCard(ICard card) { if (card != null) { this.card = card; BoardChangeEvent bce = new BoardChangeEvent(BoardChangeEvent.CARD_ADDED); bce.column = getColumnIndex(); bce.row = getRowIndex(); board.boardChanged(bce); }
170171172173174175176177178179180
resized |= checkTop(bce.row); resized |= checkBottom(bce.row); if (resized) { BoardChangeEvent newBce = new BoardChangeEvent(BoardChangeEvent.RESIZE); fireBoardChangeEvent(newBce); } } }