|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.IdeClipboard
public class IdeClipboard
Provides means to install and access IDE clipboard. The IDE clipboard is a workaround for problems described in JDK bug 4818143. It caches the contents of system clipboard and accesses the system clipboard in a separate thread. The cache is synchronized with the system clipboard when any of our Window
s gets WINDOW_ACTIVATED
event. It means that if some other application modifies the contents of the system clipboard in the background then the change won't be propagated to us immediately. The other drawback is that if an extension code bypasses IDE clipboard and accesses the system clipboard directly then we don't see these changes.
Method Summary | |
---|---|
static java.awt.datatransfer.Clipboard |
getClipboard() Returns IDE clipboard. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.awt.datatransfer.Clipboard getClipboard() throws java.awt.HeadlessException
Toolkit.getDefaultToolkit().getSystemClipboard()
) directly.java.awt.HeadlessException
- when invoked in headless mode (i.e., when GraphicsEnvironment.isHeadless()
returns true
).
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |