Class DropDownHistoryModel.RedoPopUpMenuModel
java.lang.Object
org.apache.batik.apps.svgbrowser.DropDownHistoryModel
org.apache.batik.apps.svgbrowser.DropDownHistoryModel.RedoPopUpMenuModel
- All Implemented Interfaces:
DropDownComponent.ScrollablePopupMenuModel
- Enclosing class:
DropDownHistoryModel
The redo pop up menu model.
- Version:
- $Id$
-
Nested Class Summary
Nested classes/interfaces inherited from class DropDownHistoryModel
DropDownHistoryModel.RedoPopUpMenuModel, DropDownHistoryModel.UndoPopUpMenuModel -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static StringThe redo footer text.protected static StringThe prefix for the last redoable command.Fields inherited from class DropDownHistoryModel
historyBrowserInterface, items, parent -
Constructor Summary
ConstructorsConstructorDescriptionRedoPopUpMenuModel(DropDownComponent.ScrollablePopupMenu parent, HistoryBrowserInterface historyBrowserInterface) Creates the redo pop up menu model -
Method Summary
Modifier and TypeMethodDescriptionGets the footer text.private voidinit()Initializes this model.voidProcesses click on the pop up menu item.
-
Field Details
-
REDO_FOOTER_TEXT
The redo footer text. Used for the footer item. -
REDO_TOOLTIP_PREFIX
The prefix for the last redoable command. E.g. (Redo change selection)
-
-
Constructor Details
-
RedoPopUpMenuModel
public RedoPopUpMenuModel(DropDownComponent.ScrollablePopupMenu parent, HistoryBrowserInterface historyBrowserInterface) Creates the redo pop up menu model- Parameters:
parent- The parent scrollable popup menuhistoryBrowserInterface- the historyBrowserInterface
-
-
Method Details
-
init
private void init()Initializes this model. Adds the listeners to the history browser. -
processItemClicked
public void processItemClicked()Description copied from class:DropDownHistoryModelProcesses click on the pop up menu item.- Specified by:
processItemClickedin interfaceDropDownComponent.ScrollablePopupMenuModel- Overrides:
processItemClickedin classDropDownHistoryModel
-