protected void setCell(CellSnapshot cellSnapshot) {
        if (   (cellSnapshot.id != this.cellSnapshot.id)
            || (cellSnapshot.row != this.cellSnapshot.row)
            || (cellSnapshot.positionInRow != this.cellSnapshot.positionInRow)
           ) {
            this.cellSnapshot = cellSnapshot;
            this.repaint();
        }
    }