Java in a Nutshell

Previous Chapter 19
The java.awt.datatransfer Package
Next
 

19.2 java.awt.datatransfer.ClipboardOwner (JDK 1.1)

This interface defines the single method that an object that places data on a Clipboard must implement. This method is used to notify the object when its data on the clipboard is replaced by other, more recent, data. An object that places data on a clipboard must remain ready to satisfy requests for that data until lostOwnership() is called.

public abstract interface ClipboardOwner {
    // Public Instance Methods
            public abstract void lostOwnership(Clipboard clipboard, Transferable contents);
}

Implemented By:

StringSelection

Passed To:

Clipboard.setContents()

Type Of:

Clipboard.owner


Previous Home Next
java.awt.datatransfer.Clipboard (JDK 1.1) Book Index java.awt.datatransfer.DataFlavor (JDK 1.1)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.