Module org.autogui
Package org.autogui.swing
Class GuiSwingViewCollectionTable.PopupExtensionCollectionColumnHeader
java.lang.Object
org.autogui.swing.util.PopupExtension
org.autogui.swing.GuiSwingViewCollectionTable.PopupExtensionCollectionColumnHeader
- All Implemented Interfaces:
ActionListener
,KeyListener
,MouseListener
,EventListener
- Enclosing class:
GuiSwingViewCollectionTable
public static class GuiSwingViewCollectionTable.PopupExtensionCollectionColumnHeader
extends PopupExtension
implements MouseListener
-
Nested Class Summary
Nested classes/interfaces inherited from class org.autogui.swing.util.PopupExtension
PopupExtension.DefaultPopupGetter, PopupExtension.DefaultPopupMenu, PopupExtension.MenuKeySelector, PopupExtension.PopupCancelChecker, PopupExtension.PopupExtensionDisplayAction, PopupExtension.PopupMenuBuilder, PopupExtension.PopupMenuBuilderEmpty, PopupExtension.PopupMenuFilter, PopupExtension.PopupMenuFilterAsIs, PopupExtension.PopupMenuHidingFix, PopupExtension.PopupMenuListenerForSetup, PopupExtension.PredicateKeyMatcher
-
Field Summary
FieldsFields inherited from class org.autogui.swing.util.PopupExtension
action, cancelChecker, filter, keyMatcher, menu, MENU_CATEGORY_EDIT, MENU_CATEGORY_JUMP, MENU_CATEGORY_PREFS, MENU_CATEGORY_SELECT, MENU_CATEGORY_SET, MENU_CATEGORY_TRANSFER, MENU_CATEGORY_UNDO, MENU_CATEGORY_VIEW, MENU_CATEGORY_WINDOW, MENU_FILTER_IDENTITY, MENU_SUB_CATEGORY_COPY, MENU_SUB_CATEGORY_CUT, MENU_SUB_CATEGORY_DELETE, MENU_SUB_CATEGORY_EXPORT, MENU_SUB_CATEGORY_IMPORT, MENU_SUB_CATEGORY_NEW, MENU_SUB_CATEGORY_PASTE, MENU_SUB_CATEGORY_PREFS_CHANGE, MENU_SUB_CATEGORY_PREFS_WINDOW, MENU_SUB_CATEGORY_REDO, MENU_SUB_CATEGORY_SELECT, MENU_SUB_CATEGORY_UNDO, MENU_SUB_CATEGORY_WINDOW_SELECT, MENU_SUB_CATEGORY_WINDOW_VIEW, menuBuilder, pane
-
Constructor Summary
ConstructorsConstructorDescriptionPopupExtensionCollectionColumnHeader
(JTable table, PopupExtension.PopupMenuBuilder menuBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListenersTo
(JComponent pane) void
Note: currently disabled using the mechanism, instead shown by framework original impl.Methods inherited from class org.autogui.swing.util.PopupExtension
actionPerformed, addListenersToAsPopupMenuListener, addListenersToPane, getAction, getDefaultKeyMatcher, getDefaultKeyStroke, getFilter, getKeyCode, getKeyMatcher, getKeyStroke, getMenu, getMenuBuilder, getMenuShortcutKeyMask, getPane, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mouseReleased, setFilter, setMenuBuilder, setupCancelChecker, setupMenu, show, show, showByKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mouseReleased
-
Field Details
-
targetPoint
- Since:
- 1.3
-
targetColumn
-
-
Constructor Details
-
PopupExtensionCollectionColumnHeader
public PopupExtensionCollectionColumnHeader(JTable table, PopupExtension.PopupMenuBuilder menuBuilder)
-
-
Method Details
-
getPaneTable
-
addListenersTo
- Overrides:
addListenersTo
in classPopupExtension
-
mousePressed
Description copied from class:PopupExtension
Note: currently disabled using the mechanism, instead shown by framework original impl. Some LAF relies on it.- Specified by:
mousePressed
in interfaceMouseListener
- Overrides:
mousePressed
in classPopupExtension
- Parameters:
e
- the handling event
-
getTargetColumn
-
getTargetColumn
- Parameters:
p
- the clicked point of source component- Returns:
- the column under the point
- Since:
- 1.3
-