public class IDnDSource extends IDnDBase
{D23A9CA3-42DA-C94B-8AEC-21968E08355D}
Constructor and Description |
---|
IDnDSource(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.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, isFormatSupported, removeFormats
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IDnDSource(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.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)
VBOX_E_VM_ERROR
- VMM device is not available.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.public IProgress drop(java.lang.String format, DnDAction action)
VBOX_E_VM_ERROR
- VMM device is not available.format
- The mime type the data must be in.action
- The action to use.public byte[] receiveData()
VBOX_E_VM_ERROR
- VMM device is not available.