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=8.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=8.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=8.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, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception
-
ContainsData
public static boolean ContainsData(java.lang.String format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
Win32Exception
-
ContainsFileDropList
public static boolean ContainsFileDropList() throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception
-
ContainsImage
public static boolean ContainsImage() throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception
-
ContainsText
public static boolean ContainsText() throws java.lang.Throwable, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, OutOfMemoryException, ExternalException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, Win32Exception
-
ContainsText
public static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ExternalException, RankException, Win32Exception
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ArrayTypeMismatchException
InvalidOperationException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ExternalException
RankException
Win32Exception
-
IsCurrent
public static boolean IsCurrent(IDataObject data) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, ThreadStateException, SystemException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException, ExternalException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
ThreadStateException
SystemException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
ExternalException
-
GetFileDropList
public static StringCollection GetFileDropList() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ThreadStateException, SystemException, MulticastNotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, OutOfMemoryException, ExternalException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
ThreadStateException
SystemException
MulticastNotSupportedException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
CultureNotFoundException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
-
GetAudioStream
public static Stream GetAudioStream() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ThreadStateException, SystemException, MulticastNotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
GetData
public static NetObject GetData(java.lang.String format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, ThreadStateException, SystemException, MulticastNotSupportedException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
ThreadStateException
SystemException
MulticastNotSupportedException
OutOfMemoryException
ExternalException
-
GetText
public static java.lang.String GetText() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, SystemException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
InvalidEnumArgumentException
ThreadStateException
SystemException
OutOfMemoryException
ExternalException
-
GetText
public static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, SystemException, MulticastNotSupportedException, OutOfMemoryException, ExternalException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
ArrayTypeMismatchException
InvalidOperationException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
ThreadStateException
SystemException
MulticastNotSupportedException
OutOfMemoryException
ExternalException
-
GetDataObject
public static IDataObject GetDataObject() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentException, ThreadStateException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SystemException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
InvalidOperationException
ArgumentException
ThreadStateException
ArgumentOutOfRangeException
PlatformNotSupportedException
FormatException
SystemException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
-
GetImage
public static BitmapSource GetImage() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ThreadStateException, SystemException, MulticastNotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
Clear
public static void Clear() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, ThreadStateException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, SystemException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
InvalidOperationException
ArgumentException
PlatformNotSupportedException
ThreadStateException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
SystemException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
MulticastNotSupportedException
-
Flush
public static void Flush() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, InvalidOperationException, ArgumentException, PlatformNotSupportedException, ThreadStateException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, SystemException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
InvalidOperationException
ArgumentException
PlatformNotSupportedException
ThreadStateException
IndexOutOfRangeException
ArgumentOutOfRangeException
FormatException
SystemException
RankException
ArrayTypeMismatchException
InvalidEnumArgumentException
Win32Exception
NotSupportedException
MulticastNotSupportedException
-
SetAudio
public static void SetAudio(byte[] audioBytes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
-
SetAudio
public static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
-
SetAudio
public static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetData
public static void SetData(java.lang.String format, NetObject data) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetDataObject
public static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ThreadStateException, FormatException, SystemException, InvalidEnumArgumentException, Win32Exception, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
ThreadStateException
FormatException
SystemException
InvalidEnumArgumentException
Win32Exception
MulticastNotSupportedException
-
SetDataObject
public static void SetDataObject(NetObject data) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, ThreadStateException, SystemException, Win32Exception, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
ThreadStateException
SystemException
Win32Exception
MulticastNotSupportedException
-
SetFileDropList
public static void SetFileDropList(StringCollection fileDropList) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetImage
public static void SetImage(BitmapSource image) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetText
public static void SetText(java.lang.String text, TextDataFormat format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
MulticastNotSupportedException
-
SetText
public static void SetText(java.lang.String text) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OutOfMemoryException, ExternalException, ThreadStateException, SystemException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
OutOfMemoryException
ExternalException
ThreadStateException
SystemException
-
-