public class Clipboard extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Clipboard
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.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Clipboard
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Clipboard() |
Clipboard(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Clipboard |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Clipboard, a cast assert is made to check if types are compatible. |
static void |
Clear() |
static boolean |
ContainsAudio() |
static boolean |
ContainsData(java.lang.String format) |
static boolean |
ContainsFileDropList() |
static boolean |
ContainsImage() |
static boolean |
ContainsText() |
static boolean |
ContainsText(TextDataFormat format) |
static Stream |
GetAudioStream() |
static NetObject |
GetData(java.lang.String format) |
static IDataObject |
GetDataObject() |
static StringCollection |
GetFileDropList() |
static Image |
GetImage() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static java.lang.String |
GetText() |
static java.lang.String |
GetText(TextDataFormat format) |
static void |
SetAudio(byte[] audioBytes) |
static void |
SetAudio(JCORefOut dupParam0) |
static void |
SetAudio(Stream audioStream) |
static void |
SetData(java.lang.String format,
NetObject data) |
static void |
SetDataObject(NetObject data) |
static void |
SetDataObject(NetObject data,
boolean copy) |
static void |
SetDataObject(NetObject data,
boolean copy,
int retryTimes,
int retryDelay) |
static void |
SetFileDropList(StringCollection filePaths) |
static void |
SetImage(Image image) |
void |
setJCOInstance(JCObject instance) |
static void |
SetText(java.lang.String text) |
static void |
SetText(java.lang.String text,
TextDataFormat format) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Clipboard()
throws java.lang.Throwable
java.lang.Throwablepublic Clipboard(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Clipboard cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Clipboard, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedClipboard instancejava.lang.Throwable - in case of error during cast operationpublic static void Clear()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
CultureNotFoundException,
ThreadStateException,
ExternalException
public static boolean ContainsAudio()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ThreadStateException,
ExternalException
public static boolean ContainsData(java.lang.String format)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ThreadStateException,
ExternalException
public static boolean ContainsFileDropList()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
ObjectDisposedException,
ThreadStateException,
ExternalException
public static boolean ContainsImage()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
ObjectDisposedException,
ThreadStateException,
ExternalException
public static boolean ContainsText()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
InvalidOperationException,
ThreadStateException,
ExternalException
public static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
public static Stream GetAudioStream() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ThreadStateException, ExternalException
public static NetObject GetData(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, ExternalException
public static IDataObject GetDataObject() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ThreadStateException, ExternalException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException
public static StringCollection GetFileDropList() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, ThreadStateException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionObjectDisposedExceptionThreadStateExceptionExternalExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic static Image GetImage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, ThreadStateException, ExternalException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static java.lang.String GetText()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
InvalidOperationException,
ThreadStateException,
ExternalException
public static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
public static void SetAudio(byte[] audioBytes)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
ThreadStateException,
ExternalException
public static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ThreadStateException, ExternalException
public static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
public static void SetData(java.lang.String format,
NetObject data)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ThreadStateException,
FormatException,
ExternalException
public static void SetDataObject(NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ThreadStateException, ExternalException
public static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ThreadStateException, ExternalException
public static void SetDataObject(NetObject data, boolean copy, int retryTimes, int retryDelay) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, ThreadStateException, ExternalException
public static void SetFileDropList(StringCollection filePaths) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ThreadStateException, ExternalException
public static void SetImage(Image image) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void SetText(java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionFormatExceptionInvalidEnumArgumentExceptionThreadStateExceptionExternalExceptionpublic static void SetText(java.lang.String text,
TextDataFormat format)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
InvalidEnumArgumentException,
ThreadStateException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionThreadStateExceptionExternalException