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, sourceFields inherited from class org.autogui.swing.GuiSwingActionDefault.ExecutionAction
confirmDescription, needToConfirm, resultTarget, running, targetSpecifierFields inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
taskRunnerFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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 ObjectactionPerformedBody(List<?> selection, String targetName, GuiReprValue.ObjectSpecifier targetSpec) booleanMethods inherited from class org.autogui.swing.table.GuiSwingTableColumnSetDefault.TableSelectionListAction
actionPerformed, actionPerformedAround, actionPerformedAroundWithoutCheckingRunning, actionPerformedBySelection, actionPerformedBySelection, actionPerformedWithoutCheckingRunning, executeAction, getSelectionChangeFactory, getSource, isSelectionChange, setSelectionChangeFactory, setSelectionChangeFactoryFromContextMethods inherited from class org.autogui.swing.GuiSwingActionDefault.ExecutionAction
executeAction, executeWithConfirm, executeWithConfirmReturn, getActionPressedIcon, getIcon, getIconName, getRecommendedKeyPrecedence, getRecommendedKeyStroke, initNeedToConfirmDefault, setResultTargetMethods inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
executeContextTask, executeContextTask, getContextMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStroke, getSubCategoryMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItemAction
getMenuItem, getMenuItemWithAction, remapMethods 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:
actionPerformedBodyin classGuiSwingTableColumnSetDefault.TableSelectionListAction
-
isAutomaticSelectionAction
public boolean isAutomaticSelectionAction()- Overrides:
isAutomaticSelectionActionin classGuiSwingTableColumnSetDefault.TableSelectionListAction- Returns:
- if true, the action will be called automatically when some cells are selected
-