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
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected boolean
protected GuiSwingTaskRunner
Fields inherited from class org.autogui.swing.util.PopupExtensionText.TextPasteAllAction
field
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
Fields 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 TypeMethodDescriptionvoid
void
boolean
void
run
(String str, GuiReprCollectionTable.TableTargetCell target) Methods inherited from class org.autogui.swing.util.PopupExtensionText.TextPasteAllAction
getSubCategory, paste, pasteLines
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, 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, 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
getIcon, getName
-
Field Details
-
activeComposites
-
lineSeparator
-
columnSeparator
-
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:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classPopupExtensionText.TextPasteAllAction
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
- Overrides:
actionPerformed
in classPopupExtensionText.TextPasteAllAction
-
actionPerformedOnTableCell
public void actionPerformedOnTableCell(ActionEvent e, GuiReprCollectionTable.TableTargetCell target) - Specified by:
actionPerformedOnTableCell
in interfaceTableTargetCellAction
-
run
-
runLine
-
getCategory
- Specified by:
getCategory
in interfacePopupCategorized.CategorizedMenuItem
- Specified by:
getCategory
in interfacePopupCategorized.CategorizedMenuItemComponent
- Specified by:
getCategory
in interfaceTableTargetCellAction
- Overrides:
getCategory
in classPopupExtensionText.TextPasteAllAction
- Returns:
- a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
-