public class Clipboard extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.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: PresentationCore, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.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 void |
Flush() |
static Stream |
GetAudioStream() |
static NetObject |
GetData(java.lang.String format) |
static IDataObject |
GetDataObject() |
static StringCollection |
GetFileDropList() |
static BitmapSource |
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 boolean |
IsCurrent(IDataObject data) |
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 |
SetFileDropList(StringCollection fileDropList) |
static void |
SetImage(BitmapSource 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,
IndexOutOfRangeException,
FormatException
public static boolean ContainsAudio()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionpublic static boolean ContainsData(java.lang.String format)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean ContainsFileDropList()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionpublic static boolean ContainsImage()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionpublic static boolean ContainsText()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionpublic static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, InvalidEnumArgumentException
public static void Flush()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException
public static Stream GetAudioStream() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static NetObject GetData(java.lang.String format) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static IDataObject GetDataObject() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException
public static StringCollection GetFileDropList() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidCastException
public static BitmapSource GetImage() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic 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,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NotSupportedException,
FormatException,
InvalidEnumArgumentException
public static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
public static boolean IsCurrent(IDataObject data) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void SetAudio(byte[] audioBytes)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void SetData(java.lang.String format,
NetObject data)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static void SetDataObject(NetObject data) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static void SetFileDropList(StringCollection fileDropList) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
public static void SetImage(BitmapSource image) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
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,
IndexOutOfRangeException,
FormatException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic static void SetText(java.lang.String text,
TextDataFormat format)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentException