resizeToggleButton.setEnabled(true);
sizeSlider.setEnabled(true);
// See if there is a translate component on the Cell. If so, then set
// the toggle button state.
CellComponent component = cell.getComponent(TranslateAffordanceCellComponent.class);
translateToggleButton.setSelected(component != null);
translateToggleButton.repaint();
// In theory each affordance component can hold a different size value.
// In practice this can never happen since the GUI enforces all of the