public class ClipboardProxy extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.VisualBasic.MyServices.ClipboardProxy
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: Microsoft.VisualBasic.Forms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.VisualBasic.Forms
|
static java.lang.String |
className
Qualified class name: Microsoft.VisualBasic.MyServices.ClipboardProxy
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ClipboardProxy() |
ClipboardProxy(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ClipboardProxy |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ClipboardProxy, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
boolean |
ContainsAudio()
Invokes the .NET member ContainsAudio.
|
boolean |
ContainsData(java.lang.String format)
Invokes the .NET member ContainsData.
|
boolean |
ContainsFileDropList()
Invokes the .NET member ContainsFileDropList.
|
boolean |
ContainsImage()
Invokes the .NET member ContainsImage.
|
boolean |
ContainsText()
Invokes the .NET member ContainsText.
|
boolean |
ContainsText(TextDataFormat format)
Invokes the .NET member ContainsText.
|
Stream |
GetAudioStream()
Invokes the .NET member GetAudioStream.
|
NetObject |
GetData(java.lang.String format)
Invokes the .NET member GetData.
|
IDataObject |
GetDataObject()
Invokes the .NET member GetDataObject.
|
StringCollection |
GetFileDropList()
Invokes the .NET member GetFileDropList.
|
Image |
GetImage()
Invokes the .NET member GetImage.
|
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. |
java.lang.String |
GetText()
Invokes the .NET member GetText.
|
java.lang.String |
GetText(TextDataFormat format)
Invokes the .NET member GetText.
|
void |
SetAudio(byte[] audioBytes)
Invokes the .NET member SetAudio.
|
void |
SetAudio(JCORefOut dupParam0)
Invokes the .NET member SetAudio.
|
void |
SetAudio(Stream audioStream)
Invokes the .NET member SetAudio.
|
void |
SetData(java.lang.String format,
NetObject data)
Invokes the .NET member SetData.
|
<T extends IJCOBridgeReflected> |
SetDataAsJson(java.lang.String format,
T data)
Invokes the .NET member SetDataAsJson.
|
void |
SetDataObject(DataObject data)
Invokes the .NET member SetDataObject.
|
void |
SetFileDropList(StringCollection filePaths)
Invokes the .NET member SetFileDropList.
|
void |
SetImage(Image image)
Invokes the .NET member SetImage.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetText(java.lang.String text)
Invokes the .NET member SetText.
|
void |
SetText(java.lang.String text,
TextDataFormat format)
Invokes the .NET member SetText.
|
<T extends IJCOBridgeReflected> |
TryGetData(java.lang.String format,
Func_2 resolver,
JCORefOut<T> data)
Invokes the .NET member TryGetData.
|
<T extends IJCOBridgeReflected> |
TryGetData(java.lang.String format,
JCORefOut<T> data)
Invokes the .NET member TryGetData.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ClipboardProxy()
throws java.lang.Throwable
java.lang.Throwablepublic ClipboardProxy(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 static ClipboardProxy cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ClipboardProxy, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedClipboardProxy instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ThreadStateException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean ContainsAudio()
throws java.lang.Throwable,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean ContainsData(java.lang.String format)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ThreadStateException,
ExternalException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean ContainsFileDropList()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ThreadStateException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean ContainsImage()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ThreadStateException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean ContainsText()
throws java.lang.Throwable,
PlatformNotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itExternalException - if the .NET member raises itpublic boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
format - the argument of type TextDataFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic Stream GetAudioStream() throws java.lang.Throwable, ArgumentOutOfRangeException, ThreadStateException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itExternalException - if the .NET member raises itpublic NetObject GetData(java.lang.String format) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ThreadStateException, ExternalException
format - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic IDataObject GetDataObject() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ThreadStateException, ArgumentNullException, ArgumentException, CultureNotFoundException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itExternalException - if the .NET member raises itpublic StringCollection GetFileDropList() throws java.lang.Throwable, ArgumentOutOfRangeException, ThreadStateException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itExternalException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic Image GetImage() throws java.lang.Throwable, ArgumentOutOfRangeException, ThreadStateException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itExternalException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic java.lang.String GetText()
throws java.lang.Throwable,
PlatformNotSupportedException,
InvalidEnumArgumentException,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itExternalException - if the .NET member raises itpublic java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
format - the argument of type TextDataFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetAudio(byte[] audioBytes)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
ThreadStateException,
PlatformNotSupportedException,
ExternalException
audioBytes - the argument of type byte[]java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, ThreadStateException, PlatformNotSupportedException, ExternalException
dupParam0 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetAudio(Stream audioStream) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ThreadStateException, ExternalException
audioStream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetData(java.lang.String format,
NetObject data)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ThreadStateException,
ExternalException
format - the argument of type java.lang.Stringdata - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic <T extends IJCOBridgeReflected> void SetDataAsJson(java.lang.String format, T data) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, ExternalException
T - the type of the generic argument Tformat - the argument of type java.lang.Stringdata - the argument of type Tjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetDataObject(DataObject data) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, ThreadStateException, ArgumentException, ExternalException
data - the argument of type DataObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itThreadStateException - if the .NET member raises itArgumentException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetFileDropList(StringCollection filePaths) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, NotSupportedException, FormatException, ThreadStateException
filePaths - the argument of type StringCollectionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itThreadStateException - if the .NET member raises itpublic void SetImage(Image image) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ThreadStateException, ExternalException
image - the argument of type Imagejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void SetText(java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic void SetText(java.lang.String text,
TextDataFormat format)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
text - the argument of type java.lang.Stringformat - the argument of type TextDataFormatjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic <T extends IJCOBridgeReflected> boolean TryGetData(java.lang.String format, Func_2 resolver, JCORefOut<T> data) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException, ThreadStateException, ExternalException
T - the type of the generic argument Tformat - the argument of type java.lang.Stringresolver - the argument of type Func_2data - the argument of type JCORefOut<T>java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises itpublic <T extends IJCOBridgeReflected> boolean TryGetData(java.lang.String format, JCORefOut<T> data) throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, NotSupportedException, ThreadStateException, ExternalException
T - the type of the generic argument Tformat - the argument of type java.lang.Stringdata - the argument of type JCORefOut<T>java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itThreadStateException - if the .NET member raises itExternalException - if the .NET member raises it