protected void setStatus(CellStatus status, boolean increasing) {
// If we are making the affordance ACTIVE, we want to create the
// visual affordance Entity. We must do this *before* we call the
// super.setStatus() method which relies upon a valid affordance
if (increasing && status == CellStatus.ACTIVE) {
affordance = new ResizeAffordance(getSceneGraphRoot());
((ResizeAffordance)affordance).addResizingListener(listener);
}
else if (!increasing && status == CellStatus.DISK) {
((ResizeAffordance)affordance).removeResizingListener(listener);
}