textbender.a.u.transfer.clipboard
Class Copier
java.lang.Object
Copier
- All Implemented Interfaces:
- ClipboardOwner, PropertyChangeListener, EventListener
@ThreadSafe
public final class Copier
- extends Object
- implements ClipboardOwner, PropertyChangeListener
Copies transferands to the clipboard.
Constructor Summary |
Copier(PRTransferS transferService)
Creates the single instance of Copier,
and makes it available via i(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copier
public Copier(PRTransferS transferService)
throws IOException
- Creates the single instance of Copier,
and makes it available via i().
- Parameters:
transferService
- source of transferands
- Throws:
IOException
i
static Copier i()
- The single instance of Copier.
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable contents)
- Specified by:
lostOwnership
in interface ClipboardOwner
propertyChange
@ThreadSafe
public void propertyChange(PropertyChangeEvent e)
- Specified by:
propertyChange
in interface PropertyChangeListener