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 TypeMethodDescriptionvoid
build
(PopupExtension.PopupMenuFilter filter, Consumer<Object> menu) Methods 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
-
popup
-
-
Constructor Details
-
CollectionColumnMenuSupplier
-
-
Method Details
-
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
-