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
public static class DropDownHistoryModel.RedoPopUpMenuModel extends 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
Fields Modifier and Type Field Description protected static java.lang.StringREDO_FOOTER_TEXTThe redo footer text.protected static java.lang.StringREDO_TOOLTIP_PREFIXThe prefix for the last redoable command.-
Fields inherited from class org.apache.batik.apps.svgbrowser.DropDownHistoryModel
historyBrowserInterface, items, parent
-
-
Constructor Summary
Constructors Constructor Description RedoPopUpMenuModel(DropDownComponent.ScrollablePopupMenu parent, HistoryBrowserInterface historyBrowserInterface)Creates the redo pop up menu model
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFooterText()Gets the footer text.private voidinit()Initializes this model.voidprocessItemClicked()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
-
-
-
-
Constructor Detail
-
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 Detail
-
init
private void init()
Initializes this model. Adds the listeners to the history browser.
-
getFooterText
public java.lang.String getFooterText()
Description copied from class:DropDownHistoryModelGets the footer text.- Specified by:
getFooterTextin interfaceDropDownComponent.ScrollablePopupMenuModel- Overrides:
getFooterTextin classDropDownHistoryModel- Returns:
- footer text
-
processItemClicked
public void processItemClicked()
Description copied from class:DropDownHistoryModelProcesses click on the pop up menu item.- Specified by:
processItemClickedin interfaceDropDownComponent.ScrollablePopupMenuModel- Overrides:
processItemClickedin classDropDownHistoryModel
-
-