Module org.autogui
Package org.autogui.swing
Class GuiSwingViewCollectionTable.CollectionColumnMenuSupplier
java.lang.Object
org.autogui.swing.GuiSwingViewCollectionTable.CollectionColumnMenuSupplier
- All Implemented Interfaces:
PopupExtension.PopupMenuBuilder
- Enclosing class:
GuiSwingViewCollectionTable
public static class GuiSwingViewCollectionTable.CollectionColumnMenuSupplier
extends Object
implements PopupExtension.PopupMenuBuilder
it reacts to only
GuiSwingViewCollectionTable.PopupExtensionCollection
in order to obtains selected column by GuiSwingViewCollectionTable.PopupExtensionCollection.getTargetColumn().
The target column is the column under the mouse pointer, or one of selected column when a key stroke happened.
A returned ObjectTableColumn can obtain a menu source by ObjectTableColumn.getMenuBuilderSource().-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(PopupExtension.PopupMenuFilter filter, Consumer<Object> menu) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.autogui.swing.util.PopupExtension.PopupMenuBuilder
buildWithClear
-
Field Details
-
popup
-
-
Constructor Details
-
CollectionColumnMenuSupplier
-
-
Method Details
-
buildAsSubMenu
- Parameters:
filter- the given filter- Returns:
- a created JMenu including items created by
build(PopupExtension.PopupMenuFilter, Consumer) - Since:
- 1.8
-
build
Description copied from interface:PopupExtension.PopupMenuBuilderthe Consumer acceptsActionincludingJMenuandJPopupMenuJMenuItemJComponent
- Specified by:
buildin interfacePopupExtension.PopupMenuBuilder- Parameters:
filter- an item filtermenu- the target for appending menus
-