Top Constructors Methods
com.sun.glass.ui.monocle

pack-priv final Class MonocleDnDClipboard

extends SystemClipboard
Class Inheritance
Imports
com.sun.glass.ui.Application, .Clipboard, .SystemClipboard, java.util.HashMap

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected boolean
protected String[]
protected Object
protected void
protected void
pushToSystem(HashMap<String, Object> cacheData, int supportedActions)

Implements abstract com.sun.glass.ui.SystemClipboard.pushToSystem.

Here the magic happens.

protected int
Inherited from com.sun.glass.ui.SystemClipboard:
flushgetDatagetLocalDatagetMimeTypesgetSupportedSourceActionssetTargetActiontoString

Constructor Detail

MonocleDnDClipboardback to summary
pack-priv MonocleDnDClipboard()

Method Detail

isOwnerback to summary
protected boolean isOwner()

Implements abstract com.sun.glass.ui.SystemClipboard.isOwner.

Annotations
@Override
mimesFromSystemback to summary
protected String[] mimesFromSystem()

Implements abstract com.sun.glass.ui.SystemClipboard.mimesFromSystem.

Annotations
@Override
popFromSystemback to summary
protected Object popFromSystem(String mimeType)

Implements abstract com.sun.glass.ui.SystemClipboard.popFromSystem.

Annotations
@Override
pushTargetActionToSystemback to summary
protected void pushTargetActionToSystem(int actionDone)

Implements abstract com.sun.glass.ui.SystemClipboard.pushTargetActionToSystem.

Annotations
@Override
pushToSystemback to summary
protected void pushToSystem(HashMap<String, Object> cacheData, int supportedActions)

Implements abstract com.sun.glass.ui.SystemClipboard.pushToSystem.

Here the magic happens. When this method is called all input events should be grabbed and appropriate drag notifications should be sent instead of regular input events

Annotations
@Override
supportedSourceActionsFromSystemback to summary
protected int supportedSourceActionsFromSystem()

Implements abstract com.sun.glass.ui.SystemClipboard.supportedSourceActionsFromSystem.

Annotations
@Override