Serializable, UndoableEditpublic class MapLayoutUndoRedo.RemoveElementEdit extends AbstractUndoableEdit
RedoName, UndoName| 构造器 | 说明 |
|---|---|
RemoveElementEdit(MapLayout mapLayout,
LayoutElement element) |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getPresentationName() |
|
void |
redo() |
|
void |
undo() |
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toStringpublic RemoveElementEdit(MapLayout mapLayout, LayoutElement element)
public String getPresentationName()
getPresentationName 在接口中 UndoableEditgetPresentationName 在类中 AbstractUndoableEditpublic void undo()
undo 在接口中 UndoableEditundo 在类中 AbstractUndoableEditpublic void redo()
redo 在接口中 UndoableEditredo 在类中 AbstractUndoableEditCopyright © 2019. All rights reserved.