public void clearSelection() { xAxis.clearSelection(true); yAxis.clearSelection(true); for (int x = 0; x < this.getSizeX(); x++) { for (int y = 0; y < this.getSizeY(); y++) { data[x][y].setSelected(false); } } }
public void startHighlight(int x, int y) { xAxis.clearSelection(); yAxis.clearSelection(); super.startHighlight(x, y); }