org.virtualbox_7_0
Class IDnDBase
java.lang.Object
org.virtualbox_7_0.IUnknown
org.virtualbox_7_0.IDnDBase
- Direct Known Subclasses:
- IDnDSource, IDnDTarget
public class IDnDBase
- extends IUnknown
Base abstract interface for drag'n drop.
Interface ID: {00727A73-000A-4C4A-006D-E7D300351186}
Constructor Summary |
IDnDBase(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_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.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDnDBase
public IDnDBase(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port)
getFormats
public java.util.List<java.lang.String> getFormats()
- Returns all supported drag'n drop formats.
- Returns:
- List<String>
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.