Package system.windows
Class DataObject
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.DataObject
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IDataObject
public class DataObject extends NetObject implements IDataObject
The base .NET class managing System.Windows.DataObject, PresentationCore, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.See: https://docs.microsoft.com/en-us/dotnet/api/System.Windows.DataObject
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static String
assemblyShortName
Assembly name: PresentationCorestatic String
className
Qualified class name: System.Windows.DataObjectstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DataObject()
DataObject(Object instance)
Internal constructor.DataObject(String format, NetObject data)
DataObject(String format, NetObject data, boolean autoConvert)
DataObject(NetObject data)
DataObject(NetType format, NetObject data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
AddCopyingHandler(DependencyObject element, DataObjectCopyingEventHandler handler)
static void
AddPastingHandler(DependencyObject element, DataObjectPastingEventHandler handler)
static void
AddSettingDataHandler(DependencyObject element, DataObjectSettingDataEventHandler handler)
static DataObject
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDataObject
, a cast assert is made to check if types are compatible.boolean
ContainsAudio()
boolean
ContainsFileDropList()
boolean
ContainsImage()
boolean
ContainsText()
boolean
ContainsText(TextDataFormat format)
int
DAdvise(JCORefOut<FORMATETC> pFormatetc, ADVF advf, IAdviseSink adviseSink, JCORefOut<AtomicInteger> connection)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
DUnadvise(int connection)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.int
EnumDAdvise(JCORefOut<IEnumSTATDATA> enumAdvise)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.IEnumFORMATETC
EnumFormatEtc(DATADIR direction)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.Stream
GetAudioStream()
int
GetCanonicalFormatEtc(JCORefOut<FORMATETC> formatIn, JCORefOut<FORMATETC> formatOut)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.NetObject
GetData(String format)
NetObject
GetData(String format, boolean autoConvert)
void
GetData(JCORefOut<FORMATETC> format, JCORefOut<STGMEDIUM> medium)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.NetObject
GetData(NetType format)
void
GetDataHere(JCORefOut<FORMATETC> format, JCORefOut<STGMEDIUM> medium)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.boolean
GetDataPresent(String format)
boolean
GetDataPresent(String format, boolean autoConvert)
boolean
GetDataPresent(NetType format)
StringCollection
GetFileDropList()
String[]
GetFormats()
String[]
GetFormats(boolean autoConvert)
BitmapSource
GetImage()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeString
GetText()
String
GetText(TextDataFormat format)
int
QueryGetData(JCORefOut<FORMATETC> format)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.static void
RemoveCopyingHandler(DependencyObject element, DataObjectCopyingEventHandler handler)
static void
RemovePastingHandler(DependencyObject element, DataObjectPastingEventHandler handler)
static void
RemoveSettingDataHandler(DependencyObject element, DataObjectSettingDataEventHandler handler)
void
SetAudio(byte[] audioBytes)
void
SetAudio(JCORefOut dupParam0)
void
SetAudio(Stream audioStream)
void
SetData(String format, NetObject data)
void
SetData(String format, NetObject data, boolean autoConvert)
void
SetData(JCORefOut<FORMATETC> formatIn, JCORefOut<STGMEDIUM> medium, boolean release)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
SetData(NetObject data)
void
SetData(NetType format, NetObject data)
void
SetFileDropList(StringCollection fileDropList)
void
SetImage(BitmapSource image)
void
setJCOInstance(JCObject instance)
void
SetText(String textData)
void
SetText(String textData, TextDataFormat format)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=6.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Windows.DataObject- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataObject
public DataObject(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
DataObject
public DataObject() throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
-
DataObject
public DataObject(NetObject data) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
DataObject
public DataObject(String format, NetObject data, boolean autoConvert) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
DataObject
public DataObject(String format, NetObject data) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
DataObject
public DataObject(NetType format, NetObject data) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDataObject
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDataObject
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDataObject
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDataObject
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDataObject
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DataObject cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoDataObject
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DataObject
instance- Throws:
Throwable
- in case of error during cast operation
-
ContainsAudio
public boolean ContainsAudio() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException
-
ContainsFileDropList
public boolean ContainsFileDropList() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException
-
ContainsImage
public boolean ContainsImage() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException
-
ContainsText
public boolean ContainsText() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException
-
ContainsText
public boolean ContainsText(TextDataFormat format) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ExternalException
-
GetDataPresent
public boolean GetDataPresent(String format, boolean autoConvert) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
GetDataPresent
public boolean GetDataPresent(String format) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
GetDataPresent
public boolean GetDataPresent(NetType format) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
GetFileDropList
public StringCollection GetFileDropList() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException
-
GetAudioStream
public Stream GetAudioStream() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException
-
GetData
public NetObject GetData(String format, boolean autoConvert) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
GetData
public NetObject GetData(String format) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
GetData
public NetObject GetData(NetType format) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
GetText
public String GetText() throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, NotSupportedException
-
GetText
public String GetText(TextDataFormat format) throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ExternalException
-
GetImage
public BitmapSource GetImage() throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, OutOfMemoryException, ExternalException
-
AddCopyingHandler
public static void AddCopyingHandler(DependencyObject element, DataObjectCopyingEventHandler handler) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
AddPastingHandler
public static void AddPastingHandler(DependencyObject element, DataObjectPastingEventHandler handler) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
AddSettingDataHandler
public static void AddSettingDataHandler(DependencyObject element, DataObjectSettingDataEventHandler handler) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
RemoveCopyingHandler
public static void RemoveCopyingHandler(DependencyObject element, DataObjectCopyingEventHandler handler) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
RemovePastingHandler
public static void RemovePastingHandler(DependencyObject element, DataObjectPastingEventHandler handler) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
RemoveSettingDataHandler
public static void RemoveSettingDataHandler(DependencyObject element, DataObjectSettingDataEventHandler handler) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, ObjectDisposedException, RankException, FormatException
-
SetAudio
public void SetAudio(byte[] audioBytes) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
SetAudio
public void SetAudio(JCORefOut dupParam0) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
SetAudio
public void SetAudio(Stream audioStream) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
SetData
public void SetData(NetObject data) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
SetData
public void SetData(String format, NetObject data, boolean autoConvert) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
SetData
public void SetData(String format, NetObject data) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
SetData
public void SetData(NetType format, NetObject data) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
SetFileDropList
public void SetFileDropList(StringCollection fileDropList) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, FormatException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
FormatException
-
SetImage
public void SetImage(BitmapSource image) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
-
SetText
public void SetText(String textData, TextDataFormat format) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ExternalException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ExternalException
-
SetText
public void SetText(String textData) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
IndexOutOfRangeException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
-
DAdvise
@Deprecated public int DAdvise(JCORefOut<FORMATETC> pFormatetc, ADVF advf, IAdviseSink adviseSink, JCORefOut<AtomicInteger> connection) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
DAdvise
in interfaceIDataObject
- Throws:
Throwable
-
EnumDAdvise
@Deprecated public int EnumDAdvise(JCORefOut<IEnumSTATDATA> enumAdvise) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
EnumDAdvise
in interfaceIDataObject
- Throws:
Throwable
-
GetCanonicalFormatEtc
@Deprecated public int GetCanonicalFormatEtc(JCORefOut<FORMATETC> formatIn, JCORefOut<FORMATETC> formatOut) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
GetCanonicalFormatEtc
in interfaceIDataObject
- Throws:
Throwable
-
QueryGetData
@Deprecated public int QueryGetData(JCORefOut<FORMATETC> format) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
QueryGetData
in interfaceIDataObject
- Throws:
Throwable
-
EnumFormatEtc
@Deprecated public IEnumFORMATETC EnumFormatEtc(DATADIR direction) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
EnumFormatEtc
in interfaceIDataObject
- Throws:
Throwable
-
DUnadvise
@Deprecated public void DUnadvise(int connection) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
DUnadvise
in interfaceIDataObject
- Throws:
Throwable
-
GetData
@Deprecated public void GetData(JCORefOut<FORMATETC> format, JCORefOut<STGMEDIUM> medium) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
GetData
in interfaceIDataObject
- Throws:
Throwable
-
GetDataHere
@Deprecated public void GetDataHere(JCORefOut<FORMATETC> format, JCORefOut<STGMEDIUM> medium) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
GetDataHere
in interfaceIDataObject
- Throws:
Throwable
-
SetData
@Deprecated public void SetData(JCORefOut<FORMATETC> formatIn, JCORefOut<STGMEDIUM> medium, boolean release) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIDataObject method available in IDataObject to obtain an object with an invocable method- Specified by:
SetData
in interfaceIDataObject
- Throws:
Throwable
-
-