- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.iamsoft.util.ui.swing.CopyTableCellAction
-
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
public class CopyTableCellAction extends AbstractAction
Copy Stringified table cell value to clipboard. Action is disabled if no cell is selected. String.valueOf(Object) is called on result of JTable.getValueAt(int, int).- See Also:
- Serialized Form
-
-
Field Summary
-
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
Constructors Constructor Description CopyTableCellAction(JTable pTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(ActionEvent pEvt)-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
CopyTableCellAction
public CopyTableCellAction(JTable pTable)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent pEvt)
-
-