public static class DropDownHistoryModel.UndoPopUpMenuModel extends DropDownHistoryModel
DropDownHistoryModel.RedoPopUpMenuModel, DropDownHistoryModel.UndoPopUpMenuModel
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
UNDO_FOOTER_TEXT
The undo footer text.
|
protected static java.lang.String |
UNDO_TOOLTIP_PREFIX
The prefix for the last undoable command.
|
historyBrowserInterface, items, parent
Constructor and Description |
---|
UndoPopUpMenuModel(DropDownComponent.ScrollablePopupMenu parent,
HistoryBrowserInterface historyBrowserInterface)
Creates the unod pop up menu model
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFooterText()
Gets the footer text.
|
void |
processItemClicked()
Processes click on the pop up menu item.
|
addItem, clearAllScrollablePopupMenuItems, createItem, processAfterShowed, processBeforeShowed, removeFirstScrollablePopupMenuItem, removeItem, removeLastScrollablePopupMenuItem
protected static java.lang.String UNDO_FOOTER_TEXT
protected static java.lang.String UNDO_TOOLTIP_PREFIX
public UndoPopUpMenuModel(DropDownComponent.ScrollablePopupMenu parent, HistoryBrowserInterface historyBrowserInterface)
parent
- The parent scrollable popup menuhistoryBrowserInterface
- the historyBrowserInterfacepublic java.lang.String getFooterText()
DropDownHistoryModel
getFooterText
in interface DropDownComponent.ScrollablePopupMenuModel
getFooterText
in class DropDownHistoryModel
public void processItemClicked()
DropDownHistoryModel
processItemClicked
in interface DropDownComponent.ScrollablePopupMenuModel
processItemClicked
in class DropDownHistoryModel
Copyright © 2022 Apache Software Foundation. All Rights Reserved.