Module org.autogui
Package org.autogui.swing.table
Class ObjectTableColumnValue.TableTargetInvocationAction
java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.table.ObjectTableColumnValue.ActionDelegate<Action>
org.autogui.swing.table.ObjectTableColumnValue.TableTargetInvocationAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,PopupCategorized.CategorizedMenuItem
,PopupCategorized.CategorizedMenuItemAction
,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
ObjectTableColumnValue
public static class ObjectTableColumnValue.TableTargetInvocationAction
extends ObjectTableColumnValue.ActionDelegate<Action>
implements PopupCategorized.CategorizedMenuItemAction
an action for selected rows of a column with a lambda
- See Also:
-
Field Summary
FieldsFields inherited from class org.autogui.swing.table.ObjectTableColumnValue.ActionDelegate
action, NULL, values
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionTableTargetInvocationAction
(Action action, GuiReprCollectionTable.TableTargetColumn target, BiConsumer<ActionEvent, GuiReprCollectionTable.TableTargetColumn> invoker) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
Methods inherited from class org.autogui.swing.table.ObjectTableColumnValue.ActionDelegate
getAction, getValue, putValue, setEnabled
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListener
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, putValue, removePropertyChangeListener, setEnabled
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStroke
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItem, getMenuItemWithAction, remap
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getIcon, getName
-
Field Details
-
target
-
invoker
-
-
Constructor Details
-
TableTargetInvocationAction
public TableTargetInvocationAction(Action action, GuiReprCollectionTable.TableTargetColumn target, BiConsumer<ActionEvent, GuiReprCollectionTable.TableTargetColumn> invoker)
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classObjectTableColumnValue.ActionDelegate<Action>
-
getTarget
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classObjectTableColumnValue.ActionDelegate<Action>
-
getCategory
- Specified by:
getCategory
in interfacePopupCategorized.CategorizedMenuItem
- Specified by:
getCategory
in interfacePopupCategorized.CategorizedMenuItemComponent
- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-
getSubCategory
- Specified by:
getSubCategory
in interfacePopupCategorized.CategorizedMenuItem
- Returns:
- a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
-