Module org.autogui
Package org.autogui.swing.table
Class ToStringCopyCell.ToStringCopyForCellsAction
java.lang.Object
javax.swing.AbstractAction
org.autogui.swing.GuiSwingTaskRunner.ContextAction
org.autogui.swing.table.ToStringCopyCell.ToStringCopyForCellsAction
- All Implemented Interfaces:
 ActionListener,Serializable,Cloneable,EventListener,Action,TableTargetCellAction,PopupCategorized.CategorizedMenuItem,PopupCategorized.CategorizedMenuItemAction,PopupCategorized.CategorizedMenuItemComponent
- Direct Known Subclasses:
 ToStringCopyCell.ToStringSaveForCellsAction
- Enclosing class:
 ToStringCopyCell
public static class ToStringCopyCell.ToStringCopyForCellsAction
extends GuiSwingTaskRunner.ContextAction
implements TableTargetCellAction
the action defined by composition of selected columns; it joins cell strings by new-lines (for row) and tabs (for columns).
- See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanFields 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_ICONFields inherited from interface org.autogui.swing.table.TableTargetCellAction
MENU_CATEGORY_CELL, MENU_CATEGORY_ROW - 
Constructor Summary
ConstructorsConstructorDescriptionToStringCopyForCellsAction(GuiMappingContext context, List<ToStringCopyCell.TableMenuCompositeToStringCopy> activatedColumns, boolean onlyApplyingSelectedColumns)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from class org.autogui.swing.GuiSwingTaskRunner.ContextAction
actionPerformed, 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 java.awt.event.ActionListener
actionPerformedMethods inherited from interface org.autogui.swing.util.PopupCategorized.CategorizedMenuItem
getKeyStrokeMethods 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
- 
activatedColumns
 - 
onlyApplyingSelectedColumns
protected boolean onlyApplyingSelectedColumns 
 - 
 - 
Constructor Details
- 
ToStringCopyForCellsAction
public ToStringCopyForCellsAction(GuiMappingContext context, List<ToStringCopyCell.TableMenuCompositeToStringCopy> activatedColumns, boolean onlyApplyingSelectedColumns)  
 - 
 - 
Method Details
- 
actionPerformedOnTableCell
public void actionPerformedOnTableCell(ActionEvent e, GuiReprCollectionTable.TableTargetCell target) - Specified by:
 actionPerformedOnTableCellin interfaceTableTargetCellAction
 - 
getSelectedCells
public List<GuiReprCollectionTable.CellValue> getSelectedCells(GuiReprCollectionTable.TableTargetCell target)  - 
getString
 - 
getMenuCompositeForCell
public ToStringCopyCell.TableMenuCompositeToStringCopy getMenuCompositeForCell(GuiReprCollectionTable.CellValue cell)  - 
copy
 - 
getCategory
- Specified by:
 getCategoryin interfacePopupCategorized.CategorizedMenuItem- Specified by:
 getCategoryin interfacePopupCategorized.CategorizedMenuItemComponent- Specified by:
 getCategoryin interfaceTableTargetCellAction- Returns:
 - a category name, typically PopupExtension.MENU_CATEGORY_... or PopupCategorized.CATEGORY_...
 
 - 
getSubCategory
- Specified by:
 getSubCategoryin interfacePopupCategorized.CategorizedMenuItem- Returns:
 - a sub-category name, typically PopupExtension.MENU_SUB_CATEGORY_... PopupCategorized.SUB_CATEGORY_...
 
 
 -