Module org.autogui
Package org.autogui.swing.table
Class GuiSwingTableColumnSetDefault.TableSelectionAction
java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.GuiSwingTaskRunner.ContextAction
org.autogui.swing.GuiSwingActionDefault.ExecutionAction
org.autogui.swing.table.GuiSwingTableColumnSetDefault.TableSelectionListAction
org.autogui.swing.table.GuiSwingTableColumnSetDefault.TableSelectionAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,GuiSwingKeyBinding.RecommendedKeyStroke
,PopupCategorized.CategorizedMenuItem
,PopupCategorized.CategorizedMenuItemAction
,PopupCategorized.CategorizedMenuItemComponent
- Enclosing class:
GuiSwingTableColumnSetDefault
public static class GuiSwingTableColumnSetDefault.TableSelectionAction
extends GuiSwingTableColumnSetDefault.TableSelectionListAction
an action for execution an
GuiReprAction
with selected targets.
class T { public List<E> collectionProp; } class E { ... public void action() { ... } }
class E { ... @GuiListSelectionUpdater public Collection<E> action() { ... } }
- See Also:
-
Field Summary
Fields inherited from class org.autogui.swing.table.GuiSwingTableColumnSetDefault.TableSelectionListAction
selectionChange, selectionChangeFactory, source
Fields inherited from class org.autogui.swing.GuiSwingActionDefault.ExecutionAction
resultTarget, running, targetSpecifier
Fields inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
taskRunner
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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
actionPerformedBody
(List<?> selection, String targetName, GuiReprValue.ObjectSpecifier targetSpec) boolean
Methods inherited from class org.autogui.swing.table.GuiSwingTableColumnSetDefault.TableSelectionListAction
actionPerformed, actionPerformedAround, actionPerformedAroundWithoutCheckingRunning, actionPerformedBySelection, actionPerformedWithoutCheckingRunning, executeAction, getSelectionChangeFactory, getSource, isSelectionChange, setSelectionChangeFactory, setSelectionChangeFactoryFromContext
Methods inherited from class org.autogui.swing.GuiSwingActionDefault.ExecutionAction
getActionPressedIcon, getIcon, getIconName, getRecommendedKeyPrecedence, getRecommendedKeyStroke, setResultTarget
Methods inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
executeContextTask, executeContextTask, getContext
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
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, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStroke, getSubCategory
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItem, getMenuItemWithAction, remap
Methods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemComponent
getCategory, getName
-
Constructor Details
-
TableSelectionAction
public TableSelectionAction(GuiMappingContext context, GuiSwingTableColumnSet.TableSelectionSource source)
-
-
Method Details
-
actionPerformedBody
protected Object actionPerformedBody(List<?> selection, String targetName, GuiReprValue.ObjectSpecifier targetSpec) - Overrides:
actionPerformedBody
in classGuiSwingTableColumnSetDefault.TableSelectionListAction
-
isAutomaticSelectionAction
public boolean isAutomaticSelectionAction()- Overrides:
isAutomaticSelectionAction
in classGuiSwingTableColumnSetDefault.TableSelectionListAction
- Returns:
- if true, the action will be called automatically when some cells are selected
-