Package org.apache.pivot.wtk
Interface ClipboardContentListener
-
public interface ClipboardContentListener
Clipboard content listener interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
contentChanged(LocalManifest previousContent)
Called when the content of the clipboard has been changed.
-
-
-
Method Detail
-
contentChanged
void contentChanged(LocalManifest previousContent)
Called when the content of the clipboard has been changed.- Parameters:
previousContent
- What used to be on the clipboard before the content changed. Note that this is aLocalManifest
because the only time this listener is registered is via theClipboard.setContent(LocalManifest, ClipboardContentListener)
method and so the previous content will always be "local" (that is, generated/set by a Pivot application).The current content can be accessed using
Clipboard.getContent()
.
-
-