Class ClipboardUtil

java.lang.Object
com.inductiveautomation.ignition.client.util.ClipboardUtil

public class ClipboardUtil extends Object
  • Method Details

    • doCopyTransferableToClipboard

      public static void doCopyTransferableToClipboard(Transferable data)
      Performs a copy using the given transferable to the system clipboard.
    • doPasteTransferableFromClipboard

      @Nullable public static String doPasteTransferableFromClipboard()
      Returns the current String in the system clipboard. If the contents in the clipboard is not a String, null is returned
    • isDataFlavorAvailable

      public static boolean isDataFlavorAvailable(DataFlavor flavor)
    • doPasteTransferableFromClipboard

      @Nullable public static Object doPasteTransferableFromClipboard(DataFlavor flavor)