textbender.a.u.transfer.clipboard
Class Copier

java.lang.Object
  extended by 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().
 
Method Summary
(package private) static Copier i()
          The single instance of Copier.
 void lostOwnership(Clipboard clipboard, Transferable contents)
           
 void propertyChange(PropertyChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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