public class GClipboard extends java.lang.ObjectProvides 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 a native Java action, which will use the system clipboard, then that cannot rely on the contents of the system clipboard. That test will have to use some other mechanism to know that the native action was executed.
All Methods Static Methods Concrete Methods Modifier and Type Method Description
getSystemClipboard()Returns the clipboard that should be used by the current JVM