Package | Description |
---|---|
net.sf.gridarta.model.mapmodel | |
net.sf.gridarta.model.undo |
Implementation of Undo / Redo for Gridarta.
|
Modifier and Type | Field and Description |
---|---|
private SavedSquares<G,A,R> |
DefaultMapModel.savedSquares
Records unchanged square contents for all squares in
DefaultMapModel.changedSquares . |
Modifier and Type | Method and Description |
---|---|
SavedSquares<G,A,R> |
SavedSquares.cloneAndClear()
Creates a new instance having the same contents as this instance, then
forgets all saves squares in this instance.
|
Modifier and Type | Method and Description |
---|---|
void |
MapTransactionListener.endTransaction(SavedSquares<G,A,R> savedSquares)
A map transaction has ended.
|
Modifier and Type | Field and Description |
---|---|
private SavedSquares<G,A,R> |
UndoState.savedSquares
The affected map squares.
|
Modifier and Type | Method and Description |
---|---|
SavedSquares<G,A,R> |
UndoState.getSavedSquares()
Returns the map squares that have changed in the operation.
|
Modifier and Type | Method and Description |
---|---|
void |
UndoState.setSavedSquares(SavedSquares<G,A,R> savedSquares)
Records the affected map squares.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.