|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.norvelle.textcite.gui.action.CopyCommentAction
public class CopyCommentAction
CopyCitationAction: An Action class that can be assigned directly to a JMenuItem or ToolbarButton, that copies the selected Citation's comment to the clipboard
Constructor Summary | |
---|---|
CopyCommentAction(Citation c)
Construct the Action, at the same performing the clipboard copy |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Ignored... this action runs upon being constructed. |
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 CopyCommentAction(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 |