// If we are selecting the rotation toggle button, then add the rotate
// component if it is not already on there. Also, set its size.
if (visible == true) {
if (component == null) {
component = new RotateAffordanceCellComponent(cell);
cell.addComponent(component);
}
((AffordanceCellComponent) component).setSize(getSliderSize());
}
else {
// Otherwise if the remove exists, then remove it from the Cell