Class ClipboardUtil
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.ClipboardUtil
-
public class ClipboardUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddoCopyTransferableToClipboard(java.awt.datatransfer.Transferable data)Performs a copy using the given transferable to the system clipboard.static java.lang.StringdoPasteTransferableFromClipboard()Returns the current String in the system clipboard.static java.lang.ObjectdoPasteTransferableFromClipboard(java.awt.datatransfer.DataFlavor flavor)static booleanisDataFlavorAvailable(java.awt.datatransfer.DataFlavor flavor)
-
-
-
Method Detail
-
doCopyTransferableToClipboard
public static void doCopyTransferableToClipboard(java.awt.datatransfer.Transferable data)
Performs a copy using the given transferable to the system clipboard.
-
doPasteTransferableFromClipboard
public static java.lang.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(java.awt.datatransfer.DataFlavor flavor)
-
doPasteTransferableFromClipboard
public static java.lang.Object doPasteTransferableFromClipboard(java.awt.datatransfer.DataFlavor flavor)
-
-