Module org.autogui
Package org.autogui.swing.table
Class ToStringCopyCell.ToStringPasteForCellsAction
java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.util.PopupExtensionText.TextPasteAllAction
org.autogui.swing.table.ToStringCopyCell.ToStringPasteForCellsAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,TableTargetCellAction,PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemAction,PopupCategorized.CategorizedMenuItemComponent
- Direct Known Subclasses:
ToStringCopyCell.ToStringLoadForCellsAction
- Enclosing class:
ToStringCopyCell
public static class ToStringCopyCell.ToStringPasteForCellsAction
extends PopupExtensionText.TextPasteAllAction
implements TableTargetCellAction
- See Also:
-
Field Summary
FieldsFields inherited from class org.autogui.swing.util.PopupExtensionText.TextPasteAllAction
fieldFields 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_ICONFields inherited from interface org.autogui.swing.table.TableTargetCellAction
MENU_CATEGORY_CELL, MENU_CATEGORY_ROW -
Constructor Summary
ConstructorsConstructorDescriptionToStringPasteForCellsAction(GuiMappingContext context, List<ToStringCopyCell.TableMenuCompositeToStringPaste> activeComposites, boolean onlyApplyingSelectedColumns) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanvoidrun(String str, GuiReprCollectionTable.TableTargetCell target) Methods inherited from class org.autogui.swing.util.PopupExtensionText.TextPasteAllAction
getSubCategory, paste, pasteLinesMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, 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, 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
getIcon, getName
-
Field Details
-
activeComposites
-
onlyApplyingSelectedColumns
protected boolean onlyApplyingSelectedColumns -
runner
-
-
Constructor Details
-
ToStringPasteForCellsAction
public ToStringPasteForCellsAction(GuiMappingContext context, List<ToStringCopyCell.TableMenuCompositeToStringPaste> activeComposites, boolean onlyApplyingSelectedColumns)
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceAction- Overrides:
isEnabledin classPopupExtensionText.TextPasteAllAction
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classPopupExtensionText.TextPasteAllAction
-
actionPerformedOnTableCell
public void actionPerformedOnTableCell(ActionEvent e, GuiReprCollectionTable.TableTargetCell target) - Specified by:
actionPerformedOnTableCellin interfaceTableTargetCellAction
-
run
-
runLine
-
getCategory
- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItem- Specified by:
getCategoryin interfacePopupCategorized.CategorizedMenuItemComponent- Specified by:
getCategoryin interfaceTableTargetCellAction- Overrides:
getCategoryin classPopupExtensionText.TextPasteAllAction- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-