|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.norvelle.textcite.gui.action.CopyReferenceAction
public class CopyReferenceAction
CopyReferenceAction: An Action class that can be assigned directly to a JMenuItem or ToolbarButton, that copies the selected Citation's reference to the clipboard
Constructor Summary | |
---|---|
CopyReferenceAction(Citation c)
Construct the Action |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Perform the clipboard copy |
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
Needed to implement the ClipboardOwner interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyReferenceAction(Citation c)
c
- The Citation whose text will be copiedMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed
in interface java.awt.event.ActionListener
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |