javax.swing.text
Class DefaultCaret.ClipboardHandler
java.lang.Object
javax.swing.text.DefaultCaret.ClipboardHandler
- All Implemented Interfaces:
- ClipboardOwner
- Enclosing class:
- DefaultCaret
- private class DefaultCaret.ClipboardHandler
- extends Object
- implements ClipboardOwner
ClipboardOwner that will toggle the visibility of the selection
when ownership is lost.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCaret.ClipboardHandler
private DefaultCaret.ClipboardHandler()
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable contents)
- Description copied from interface:
ClipboardOwner
- Notifies this object that it is no longer the clipboard owner.
This method will be called when another application or another
object within this application asserts ownership of the clipboard.
- Specified by:
lostOwnership
in interface ClipboardOwner
- Parameters:
clipboard
- the clipboard that is no longer ownedcontents
- the contents which this owner had placed on the clipboard