public abstract class AbstractUndoActionManagement extends ActionMap
AccessibleUndoManager
to display undoable (and
redoable) edits in swing submenus.Constructor and Description |
---|
AbstractUndoActionManagement() |
Modifier and Type | Method and Description |
---|---|
protected abstract javax.swing.Action |
createRedoAction(javax.swing.undo.UndoableEdit edit) |
protected abstract javax.swing.Action |
createUndoAction(javax.swing.undo.UndoableEdit edit) |
protected void |
editUndoRedoMenus()
Sets the contents undo and redo menus or disables them.
|
protected abstract javax.swing.JMenu |
getRedoMenu() |
protected abstract AccessibleUndoManager |
getUndoManager() |
protected abstract javax.swing.JMenu |
getUndoMenu() |
public AbstractUndoActionManagement()
protected abstract AccessibleUndoManager getUndoManager()
protected abstract javax.swing.JMenu getUndoMenu()
protected abstract javax.swing.JMenu getRedoMenu()
protected abstract javax.swing.Action createUndoAction(javax.swing.undo.UndoableEdit edit)
protected abstract javax.swing.Action createRedoAction(javax.swing.undo.UndoableEdit edit)
protected void editUndoRedoMenus()