Interface ClipboardContentListener


  • public interface ClipboardContentListener
    Clipboard content listener interface.
    • 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 a LocalManifest because the only time this listener is registered is via the Clipboard.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().