public class IDataObjectImplementation extends NetObject implements IDataObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Runtime.InteropServices.ComTypes.IDataObject
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Runtime.InteropServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Runtime.InteropServices
|
static java.lang.String |
className
Qualified class name: System.Runtime.InteropServices.ComTypes.IDataObject
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
IDataObjectImplementation(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DAdvise(JCORefOut<FORMATETC> pFormatetc,
ADVF advf,
IAdviseSink adviseSink,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> connection)
Invokes the .NET member DAdvise.
|
void |
DUnadvise(int connection)
Invokes the .NET member DUnadvise.
|
int |
EnumDAdvise(JCORefOut<IEnumSTATDATA> enumAdvise)
Invokes the .NET member EnumDAdvise.
|
IEnumFORMATETC |
EnumFormatEtc(DATADIR direction)
Invokes the .NET member EnumFormatEtc.
|
int |
GetCanonicalFormatEtc(JCORefOut<FORMATETC> formatIn,
JCORefOut<FORMATETC> formatOut)
Invokes the .NET member GetCanonicalFormatEtc.
|
void |
GetData(JCORefOut<FORMATETC> format,
JCORefOut<STGMEDIUM> medium)
Invokes the .NET member GetData.
|
void |
GetDataHere(JCORefOut<FORMATETC> format,
JCORefOut<STGMEDIUM> medium)
Invokes the .NET member GetDataHere.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
QueryGetData(JCORefOut<FORMATETC> format)
Invokes the .NET member QueryGetData.
|
void |
SetData(JCORefOut<FORMATETC> formatIn,
JCORefOut<STGMEDIUM> medium,
boolean release)
Invokes the .NET member SetData.
|
static IDataObject |
ToIDataObject(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into IDataObject, a cast assert is made to check if types are compatible. |
cast, Equals, Equals, GetHashCode, GetType, hashCode, setJCOInstance, toString, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public IDataObjectImplementation(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic int DAdvise(JCORefOut<FORMATETC> pFormatetc, ADVF advf, IAdviseSink adviseSink, JCORefOut<java.util.concurrent.atomic.AtomicInteger> connection) throws java.lang.Throwable
DAdvise in interface IDataObjectpFormatetc - the argument of type JCORefOut<FORMATETC>advf - the argument of type ADVFadviseSink - the argument of type IAdviseSinkconnection - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void DUnadvise(int connection)
throws java.lang.Throwable
DUnadvise in interface IDataObjectconnection - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int EnumDAdvise(JCORefOut<IEnumSTATDATA> enumAdvise) throws java.lang.Throwable
EnumDAdvise in interface IDataObjectenumAdvise - the argument of type JCORefOut<IEnumSTATDATA>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumFORMATETC EnumFormatEtc(DATADIR direction) throws java.lang.Throwable
EnumFormatEtc in interface IDataObjectdirection - the argument of type DATADIRjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int GetCanonicalFormatEtc(JCORefOut<FORMATETC> formatIn, JCORefOut<FORMATETC> formatOut) throws java.lang.Throwable
GetCanonicalFormatEtc in interface IDataObjectformatIn - the argument of type JCORefOut<FORMATETC>formatOut - the argument of type JCORefOut<FORMATETC>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetData(JCORefOut<FORMATETC> format, JCORefOut<STGMEDIUM> medium) throws java.lang.Throwable
GetData in interface IDataObjectformat - the argument of type JCORefOut<FORMATETC>medium - the argument of type JCORefOut<STGMEDIUM>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void GetDataHere(JCORefOut<FORMATETC> format, JCORefOut<STGMEDIUM> medium) throws java.lang.Throwable
GetDataHere in interface IDataObjectformat - the argument of type JCORefOut<FORMATETC>medium - the argument of type JCORefOut<STGMEDIUM>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDataObjectgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDataObjectgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDataObjectgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDataObjectgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDataObjectgetJCOType in class NetObjectpublic int QueryGetData(JCORefOut<FORMATETC> format) throws java.lang.Throwable
QueryGetData in interface IDataObjectformat - the argument of type JCORefOut<FORMATETC>java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void SetData(JCORefOut<FORMATETC> formatIn, JCORefOut<STGMEDIUM> medium, boolean release) throws java.lang.Throwable
SetData in interface IDataObjectformatIn - the argument of type JCORefOut<FORMATETC>medium - the argument of type JCORefOut<STGMEDIUM>release - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static IDataObject ToIDataObject(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into IDataObject, a cast assert is made to check if types are compatible.ToIDataObject in interface IDataObjectfrom - IJCOBridgeReflected instance to be castedIDataObject instancejava.lang.Throwable - in case of error during cast operation