org.virtualbox_6_0
Class IDnDBase

java.lang.Object
  extended by org.virtualbox_6_0.IUnknown
      extended by org.virtualbox_6_0.IDnDBase
Direct Known Subclasses:
IDnDSource, IDnDTarget

public class IDnDBase
extends IUnknown

Base abstract interface for drag'n drop. Interface ID: {4132147B-42F8-CD96-7570-6A8800E3342C}


Field Summary
 
Fields inherited from class org.virtualbox_6_0.IUnknown
obj, objMgr, port
 
Constructor Summary
IDnDBase(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
           
 
Method Summary
 void addFormats(java.util.List<java.lang.String> formats)
          Adds MIME / Content-type formats to the supported formats.
 java.util.List<java.lang.String> getFormats()
          Returns all supported drag'n drop formats.
 java.lang.Long getProtocolVersion()
          Returns the protocol version which is used to communicate with the guest.
 java.lang.Boolean isFormatSupported(java.lang.String format)
          Checks if a specific drag'n drop MIME / Content-type format is supported.
static IDnDBase queryInterface(IUnknown obj)
           
 void removeFormats(java.util.List<java.lang.String> formats)
          Removes MIME / Content-type formats from the supported formats.
 
Methods inherited from class org.virtualbox_6_0.IUnknown
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDnDBase

public IDnDBase(java.lang.String wrapped,
                org.virtualbox_6_0.ObjectRefManager objMgr,
                org.virtualbox_6_0.jaxws.VboxPortType port)
Method Detail

getFormats

public java.util.List<java.lang.String> getFormats()
Returns all supported drag'n drop formats.

Returns:
List<String>

getProtocolVersion

public java.lang.Long getProtocolVersion()
Returns the protocol version which is used to communicate with the guest.

Returns:
Long

queryInterface

public static IDnDBase queryInterface(IUnknown obj)

isFormatSupported

public java.lang.Boolean isFormatSupported(java.lang.String format)
Checks if a specific drag'n drop MIME / Content-type format is supported.

Parameters:
format - Format to check for.
Returns:
Returns true if the specified format is supported, false if not.

addFormats

public void addFormats(java.util.List<java.lang.String> formats)
Adds MIME / Content-type formats to the supported formats.

Parameters:
formats - Collection of formats to add.

removeFormats

public void removeFormats(java.util.List<java.lang.String> formats)
Removes MIME / Content-type formats from the supported formats.

Parameters:
formats - Collection of formats to remove.