public class Memento extends Observable implements MementoInterface
ACTIVATE, DEACTIVATE| Constructor and Description |
|---|
Memento()
Konstruktor für Memento-Instanzen.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(CustomAction a)
Fuegt eine gerade getaetigte Aktion dem Stapel hinzu.
|
void |
clear()
Löscht den Stack.
|
void |
featuresRemoved(Collection<Feature> f)
DOCUMENT ME!
|
String |
getHistory()
DOCUMENT ME!
|
CustomAction |
getLastAction()
Liefert die letzte ausgefuehrte Aktion.
|
boolean |
isEmpty()
Liefert ein boolean, ob der Stack leer ist.
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic CustomAction getLastAction()
getLastAction in interface MementoInterfacepublic void addAction(CustomAction a)
addAction in interface MementoInterfacea - die einzufuegende Aktionpublic boolean isEmpty()
isEmpty in interface MementoInterfacepublic void clear()
clear in interface MementoInterfacepublic String getHistory()
MementoInterfacegetHistory in interface MementoInterfacepublic void featuresRemoved(Collection<Feature> f)
MementoInterfacefeaturesRemoved in interface MementoInterfacef - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.