Package org.apache.batik.apps.svgbrowser
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.apps.svgbrowser.DropDownHistoryModel
DropDownHistoryModel.RedoPopUpMenuModel, DropDownHistoryModel.UndoPopUpMenuModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static String
The redo footer text.protected static String
The prefix for the last redoable command.Fields inherited from class org.apache.batik.apps.svgbrowser.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 void
init()
Initializes this model.void
Processes click on the pop up menu item.Methods inherited from class org.apache.batik.apps.svgbrowser.DropDownHistoryModel
addItem, clearAllScrollablePopupMenuItems, createItem, processAfterShowed, processBeforeShowed, removeFirstScrollablePopupMenuItem, removeItem, removeLastScrollablePopupMenuItem
-
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:DropDownHistoryModel
Processes click on the pop up menu item.- Specified by:
processItemClicked
in interfaceDropDownComponent.ScrollablePopupMenuModel
- Overrides:
processItemClicked
in classDropDownHistoryModel
-