Package system.windows
Class Clipboard
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.Clipboard
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Clipboard extends NetObject
The base .NET class managing System.Windows.Clipboard, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Clipboard
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: PresentationCorestatic java.lang.String
className
Qualified class name: System.Windows.Clipboardstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Clipboard
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoClipboard
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic 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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Clipboard- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- 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 java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Clipboard cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoClipboard
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Clipboard
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ContainsAudio
public static boolean ContainsAudio() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
NullReferenceException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
Win32Exception
-
ContainsData
public static boolean ContainsData(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
AbandonedMutexException
NullReferenceException
NotSupportedException
IndexOutOfRangeException
Win32Exception
-
ContainsFileDropList
public static boolean ContainsFileDropList() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
NullReferenceException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
Win32Exception
-
ContainsImage
public static boolean ContainsImage() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
NullReferenceException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
Win32Exception
-
ContainsText
public static boolean ContainsText() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
NullReferenceException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
Win32Exception
-
ContainsText
public static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, NullReferenceException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
NullReferenceException
Win32Exception
-
IsCurrent
public static boolean IsCurrent(IDataObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ThreadStateException, SystemException, InvalidEnumArgumentException, Win32Exception, SecurityException, NotSupportedException, MulticastNotSupportedException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
ThreadStateException
SystemException
InvalidEnumArgumentException
Win32Exception
SecurityException
NotSupportedException
MulticastNotSupportedException
ExternalException
-
GetFileDropList
public static StringCollection GetFileDropList() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ThreadStateException, SystemException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, XmlSyntaxException, NullReferenceException, ArgumentOutOfRangeException, InvalidDeploymentException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
InvalidOperationException
MissingManifestResourceException
ThreadStateException
SystemException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
XmlSyntaxException
NullReferenceException
ArgumentOutOfRangeException
InvalidDeploymentException
-
GetAudioStream
public static Stream GetAudioStream() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ThreadStateException, SystemException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, XmlSyntaxException, NullReferenceException, ArgumentOutOfRangeException, InvalidDeploymentException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
InvalidOperationException
MissingManifestResourceException
ThreadStateException
SystemException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
XmlSyntaxException
NullReferenceException
ArgumentOutOfRangeException
InvalidDeploymentException
-
GetData
public static NetObject GetData(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, ThreadStateException, SystemException, MulticastNotSupportedException, XmlSyntaxException, NullReferenceException, InvalidDeploymentException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
AbandonedMutexException
ThreadStateException
SystemException
MulticastNotSupportedException
XmlSyntaxException
NullReferenceException
InvalidDeploymentException
-
GetText
public static java.lang.String GetText() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, ThreadStateException, SystemException, XmlSyntaxException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
ThreadStateException
SystemException
XmlSyntaxException
NullReferenceException
-
GetText
public static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, SystemException, MulticastNotSupportedException, AbandonedMutexException, XmlSyntaxException, NullReferenceException, InvalidDeploymentException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
ThreadStateException
SystemException
MulticastNotSupportedException
AbandonedMutexException
XmlSyntaxException
NullReferenceException
InvalidDeploymentException
-
GetDataObject
public static IDataObject GetDataObject() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, ThreadStateException, SystemException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, AbandonedMutexException, XmlSyntaxException, NotSupportedException, NullReferenceException, TargetParameterCountException, InvalidDeploymentException, MemberAccessException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
InvalidOperationException
MissingManifestResourceException
ObjectDisposedException
ThreadStateException
SystemException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
AbandonedMutexException
XmlSyntaxException
NotSupportedException
NullReferenceException
TargetParameterCountException
InvalidDeploymentException
MemberAccessException
IndexOutOfRangeException
-
GetImage
public static BitmapSource GetImage() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, InvalidOperationException, MissingManifestResourceException, ThreadStateException, SystemException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException, XmlSyntaxException, NullReferenceException, ArgumentOutOfRangeException, InvalidDeploymentException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
InvalidOperationException
MissingManifestResourceException
ThreadStateException
SystemException
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
XmlSyntaxException
NullReferenceException
ArgumentOutOfRangeException
InvalidDeploymentException
-
Clear
public static void Clear() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ThreadStateException, SystemException, InvalidEnumArgumentException, Win32Exception, SecurityException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
ThreadStateException
SystemException
InvalidEnumArgumentException
Win32Exception
SecurityException
NotSupportedException
MulticastNotSupportedException
-
Flush
public static void Flush() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ThreadStateException, SystemException, InvalidEnumArgumentException, Win32Exception, SecurityException, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
ArgumentNullException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
ThreadStateException
SystemException
InvalidEnumArgumentException
Win32Exception
SecurityException
NotSupportedException
MulticastNotSupportedException
-
SetAudio
public static void SetAudio(byte[] audioBytes) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ThreadStateException, SystemException, ObjectDisposedException, AbandonedMutexException
-
SetAudio
public static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, ThreadStateException, SystemException, ObjectDisposedException, AbandonedMutexException
-
SetAudio
public static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ThreadStateException, SystemException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException
-
SetData
public static void SetData(java.lang.String format, NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
AbandonedMutexException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetDataObject
public static void SetDataObject(NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, MissingManifestResourceException, ThreadStateException, SystemException, Win32Exception, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
InvalidOperationException
MissingManifestResourceException
ThreadStateException
SystemException
Win32Exception
MulticastNotSupportedException
ObjectDisposedException
AbandonedMutexException
-
SetDataObject
public static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, ThreadStateException, SystemException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
InvalidOperationException
MissingManifestResourceException
ObjectDisposedException
ThreadStateException
SystemException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
AbandonedMutexException
-
SetFileDropList
public static void SetFileDropList(StringCollection fileDropList) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
AbandonedMutexException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
NotSupportedException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetImage
public static void SetImage(BitmapSource image) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingManifestResourceException, ThreadStateException, SystemException, MulticastNotSupportedException, ObjectDisposedException, AbandonedMutexException
-
SetText
public static void SetText(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, ThreadStateException, SystemException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
FormatException
InvalidEnumArgumentException
ThreadStateException
SystemException
-
SetText
public static void SetText(java.lang.String text, TextDataFormat format) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, SystemException, MulticastNotSupportedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
ArgumentOutOfRangeException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
ThreadStateException
SystemException
MulticastNotSupportedException
AbandonedMutexException
-
-