Package docking.dnd

# Class GClipboard

java.lang.Object
docking.dnd.GClipboard

public class GClipboard extends Object
Provides a place for clients to retrieve the Clipboard they should be using. This class provides a level of indirection that allows us to inject clipboards as needed.

Note: if a test needs to check the contents of the native clipboard, such as after executing a native Java action that uses the system clipboard, then that test must use some other mechanism to know that the native action was executed. This is due to the fact that the system clipboard is potentially used by multiple Java test processes at once.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Clipboard`
  `getSystemClipboard()`
  Returns the clipboard that should be used by the current JVM

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getSystemClipboard

    public static Clipboard getSystemClipboard()
    Returns the clipboard that should be used by the current JVM
    Returns:
      the clipboard