public class DisplayedCells
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DisplayedCells()
The constructor returna an object that captures the cells being displayed.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Cell> |
getCreatedCells()
Method to return a list of cells that were created (those that were swapped-in).
|
void |
swap(Cell oldVers,
Cell newVers)
Method to update the displayed cell list to account for a replacement.
|
void |
updateWindows()
Method to finish changes to displayed cells.
|
public DisplayedCells()
public void swap(Cell oldVers, Cell newVers)
oldVers
- the old version of the cell.newVers
- the new version to display wherever the old version used to be.public void updateWindows()
public java.util.Iterator<Cell> getCreatedCells()