|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.impl.AbstractCellManager
A CellManager which implements the most trivial functions.
Field Summary | |
protected java.util.Map |
cells
The map: String id to Cell. |
protected Space |
space
|
Fields inherited from interface gzz.impl.CellManager |
rcsid |
Constructor Summary | |
AbstractCellManager()
|
Method Summary | |
Cell |
getCell(java.lang.String id)
Get a cell by its ID. |
protected abstract Cell |
makeCell(java.lang.String id)
Create the Cell object for the cell given by id. |
Cell |
N(Cell inSlice)
Create a new cell in the same slice as the given cell. |
protected abstract java.lang.String |
newCellId(Cell inSlice)
Give the Id of a new cell in the same slice. |
void |
setSpace(Space space)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface gzz.impl.CellManager |
delete, exists |
Field Detail |
protected Space space
protected java.util.Map cells
Constructor Detail |
public AbstractCellManager()
Method Detail |
public final void setSpace(Space space)
setSpace
in interface CellManager
protected abstract Cell makeCell(java.lang.String id)
protected abstract java.lang.String newCellId(Cell inSlice)
public final Cell getCell(java.lang.String id)
CellManager
getCell
in interface CellManager
public final Cell N(Cell inSlice)
CellManager
N
in interface CellManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |