public class CopyAction extends AbstractAction implements ClipboardOwner
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
CopyAction(String toolTipText) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
String |
getResult() |
void |
lostOwnership(Clipboard clipboard,
Transferable contents) |
void |
setResult(String result) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic CopyAction(String toolTipText)
toolTipText - toolTipTextpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic String getResult()
public void setResult(String result)
result - the result to setpublic void lostOwnership(Clipboard clipboard, Transferable contents)
lostOwnership in interface ClipboardOwnerCopyright © 2014 The University of Manchester. All Rights Reserved.