public class DefaultAppUndoManager extends Object implements AppHistory
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.common.props.WritableStack<UndoableAction> |
redoList |
protected net.thevpc.common.props.WritableList<net.thevpc.common.msg.Message> |
redoListDescription |
protected net.thevpc.common.props.WritableStack<UndoableAction> |
undoList |
protected net.thevpc.common.props.WritableList<net.thevpc.common.msg.Message> |
undoListDescription |
| Constructor and Description |
|---|
DefaultAppUndoManager(Application application) |
| Modifier and Type | Method and Description |
|---|---|
void |
discardRedoFirstAction() |
void |
discardUndoFirstAction() |
void |
doAction(UndoableAction action) |
void |
redoAction() |
net.thevpc.common.props.ObservableList<net.thevpc.common.msg.Message> |
redoList() |
void |
undoAction() |
net.thevpc.common.props.ObservableList<net.thevpc.common.msg.Message> |
undoList() |
protected net.thevpc.common.props.WritableStack<UndoableAction> undoList
protected net.thevpc.common.props.WritableList<net.thevpc.common.msg.Message> undoListDescription
protected net.thevpc.common.props.WritableStack<UndoableAction> redoList
protected net.thevpc.common.props.WritableList<net.thevpc.common.msg.Message> redoListDescription
public DefaultAppUndoManager(Application application)
public void doAction(UndoableAction action)
doAction in interface AppHistorypublic void discardUndoFirstAction()
public void discardRedoFirstAction()
public void undoAction()
undoAction in interface AppHistorypublic void redoAction()
redoAction in interface AppHistorypublic net.thevpc.common.props.ObservableList<net.thevpc.common.msg.Message> undoList()
undoList in interface AppHistorypublic net.thevpc.common.props.ObservableList<net.thevpc.common.msg.Message> redoList()
redoList in interface AppHistoryCopyright © 2021 vpc open source initiative. All rights reserved.