public Slot getCellContaining(GUIComponent component) {
        for (int r = 0; r < grid.getNumRows(); r++) {
            for (int c = 0; c < grid.getNumColumns(); c++) {
                if (cells[r][c].getComponent() == component) {
                    return cells[r][c];
                }
            }
        }

        return null;
    }