Package org.ka2ddo.yaac.gui.table
Class TableClipboardCopier
java.lang.Object
javax.swing.AbstractAction
org.ka2ddo.yaac.gui.table.TableClipboardCopier
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
Auxiliary helper class to allow copying cell text from a JTable to the system
clipboard.
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
DO NOT CALL.static void
Add the ctrl-C copier to a JTable.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Method Details
-
setupTableClipboardCopier
Add the ctrl-C copier to a JTable.- Parameters:
table
- JTable to attach the copier to
-
actionPerformed
DO NOT CALL. Control-C handler for tables.- Parameters:
e
- ActionEvent
-