Java AWT

Previous Chapter 20
java.awt.datatransfer Reference
Next
 

ClipboardOwner (New)

Name

ClipboardOwner (New)

[Graphic: Figure from the text]

Description

ClipboardOwner is implemented by classes that want to be notified when someone else sets the contents of a clipboard.

Interface Definition

public abstract interface java.awt.datatransfer.ClipboardOwner {
  // Interface Methods
  public abstract void lostOwnership (Clipboard clipboard, Transferable contents);
}

Interface Methods

lostOwnership

public abstract void lostOwnership (Clipboard clipboard, Transferable contents)

Parameters

clipboard

The clipboard whose contents have changed.

contents

The contents that this owner originally put on the clipboard.

Description

Tells the ClipboardOwner that the contents it placed on the given clipboard are no longer there.

See Also

Clipboard, StringSelection, Transferable


Previous Home Next
Clipboard (New) Book Index DataFlavor (New)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java