public class IDnDSource extends IDnDBase
Constructor and Description |
---|
IDnDSource(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
DnDAction |
dragIsPending(java.lang.Long screenId,
Holder<java.util.List<java.lang.String>> formats,
Holder<java.util.List<DnDAction>> allowedActions)
Ask the source if there is any drag and drop operation pending.
|
IProgress |
drop(java.lang.String format,
DnDAction action)
Informs the source that a drop event occurred for a pending
drag and drop operation.
|
static IDnDSource |
queryInterface(IUnknown obj) |
byte[] |
receiveData()
Receive the data of a previously drag and drop event from the source.
|
addFormats, getFormats, getProtocolVersion, isFormatSupported, removeFormats
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IDnDSource(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
public static IDnDSource queryInterface(IUnknown obj)
public DnDAction dragIsPending(java.lang.Long screenId, Holder<java.util.List<java.lang.String>> formats, Holder<java.util.List<DnDAction>> allowedActions)
screenId
- The screen ID where the drag and drop event occurred.formats
- On return the supported mime types.allowedActions
- On return the actions which are allowed.VBOX_E_VM_ERROR | VMM device is not available. |
public IProgress drop(java.lang.String format, DnDAction action)
format
- The mime type the data must be in.action
- The action to use.VBOX_E_VM_ERROR | VMM device is not available. |
public byte[] receiveData()
VBOX_E_VM_ERROR | VMM device is not available. |