Interface SOClipboardHandler

All Known Implementing Classes:
DefaultClipboardHandler

public interface SOClipboardHandler
This interface specifies the basis for implementing a class to handle clipboard actions for the document editor.
  • Method Details

    • putPlainTextToClipboard

      void putPlainTextToClipboard(String text)
      This method passes a string, cut or copied from the document, to be stored in the clipboard.
      Parameters:
      text - The text to be stored in the clipboard.
    • getPlainTextFromClipoard

      String getPlainTextFromClipoard()
      This method returns the contents of the clipboard.
      Returns:
      The text stored in the clipboard.
    • clipboardHasPlaintext

      boolean clipboardHasPlaintext()
      This method ascertains whether the clipboard has any data.
      Returns:
      True if it has. False otherwise.
    • initClipboardHandler

      void initClipboardHandler(android.app.Activity activity)
      This method initializes the clipboard handler
      Parameters:
      activity - the context
    • releaseClipboardHandler

      void releaseClipboardHandler()
      This method releases the clipboard handler