java.lang.Object
org.autogui.swing.util.PopupExtensionText.TextServiceDefaultMenu
- All Implemented Interfaces:
PopupExtension.PopupMenuBuilder
- Enclosing class:
PopupExtensionText
public static class PopupExtensionText.TextServiceDefaultMenu
extends Object
implements PopupExtension.PopupMenuBuilder
a
PopupExtension.PopupMenuBuilder
which has typical actions for the text component-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(PopupExtension.PopupMenuFilter filter, Consumer<Object> menu) getActionsInInitEditActions
(JTextComponent textComponent) void
initEditActions
(JTextComponent textComponent) called from constructorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.autogui.swing.util.PopupExtension.PopupMenuBuilder
buildWithClear
-
Field Details
-
editActions
-
-
Constructor Details
-
TextServiceDefaultMenu
-
-
Method Details
-
initEditActions
called from constructor- Parameters:
textComponent
- the target component
-
getActionsInInitEditActions
-
getEditActions
-
build
Description copied from interface:PopupExtension.PopupMenuBuilder
the Consumer acceptsAction
includingJMenu
andJPopupMenu
JMenuItem
JComponent
- Specified by:
build
in interfacePopupExtension.PopupMenuBuilder
- Parameters:
filter
- an item filtermenu
- the target for appending menus
-
getMenuBuilder
-