Package system.windows.forms
Class Clipboard
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.forms.Clipboard
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Clipboard extends NetObject
The base .NET class managing System.Windows.Forms.Clipboard, System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Windows.Formsstatic java.lang.StringclassNameQualified class name: System.Windows.Forms.Clipboardstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Clipboardcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoClipboard, a cast assert is made to check if types are compatible.static voidClear()static booleanContainsAudio()static booleanContainsData(java.lang.String format)static booleanContainsFileDropList()static booleanContainsImage()static booleanContainsText()static booleanContainsText(TextDataFormat format)static StreamGetAudioStream()static NetObjectGetData(java.lang.String format)static IDataObjectGetDataObject()static StringCollectionGetFileDropList()static ImageGetImage()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class Typestatic java.lang.StringGetText()static java.lang.StringGetText(TextDataFormat format)static voidSetAudio(byte[] audioBytes)static voidSetAudio(JCORefOut dupParam0)static voidSetAudio(Stream audioStream)static voidSetData(java.lang.String format, NetObject data)static voidSetDataObject(NetObject data)static voidSetDataObject(NetObject data, boolean copy)static voidSetDataObject(NetObject data, boolean copy, int retryTimes, int retryDelay)static voidSetFileDropList(StringCollection filePaths)static voidSetImage(Image image)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)static voidSetText(java.lang.String text)static voidSetText(java.lang.String text, TextDataFormat format)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Windows.Forms- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Forms.Clipboard- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Clipboard cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoClipboard, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Clipboardinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ContainsAudio
public static boolean ContainsAudio() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ExternalException
-
ContainsData
public static boolean ContainsData(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ExternalException
-
ContainsFileDropList
public static boolean ContainsFileDropList() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, ExternalException
-
ContainsImage
public static boolean ContainsImage() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, ExternalException
-
ContainsText
public static boolean ContainsText() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ExternalException
-
ContainsText
public static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ExternalException
-
GetFileDropList
public static StringCollection GetFileDropList() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentNullExceptionInvalidOperationExceptionObjectDisposedExceptionExternalExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
GetImage
public static Image GetImage() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, ExternalException
-
GetAudioStream
public static Stream GetAudioStream() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentNullException, InvalidOperationException, ObjectDisposedException, ExternalException
-
GetData
public static NetObject GetData(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ExternalException
-
GetText
public static java.lang.String GetText() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ExternalException
-
GetText
public static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ExternalException
-
GetDataObject
public static IDataObject GetDataObject() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, ExternalException
-
Clear
public static void Clear() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ExternalException
-
SetAudio
public static void SetAudio(byte[] audioBytes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ExternalException
-
SetAudio
public static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ExternalException
-
SetAudio
public static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ExternalException
-
SetData
public static void SetData(java.lang.String format, NetObject data) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, ExternalException
-
SetDataObject
public static void SetDataObject(NetObject data, boolean copy, int retryTimes, int retryDelay) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, ExternalException
-
SetDataObject
public static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ExternalException
-
SetDataObject
public static void SetDataObject(NetObject data) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ExternalException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionExternalException
-
SetFileDropList
public static void SetFileDropList(StringCollection filePaths) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException, NotSupportedException
-
SetImage
public static void SetImage(Image image) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ExternalException
-
SetText
public static void SetText(java.lang.String text, TextDataFormat format) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, ExternalException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionExternalException
-
SetText
public static void SetText(java.lang.String text) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException, InvalidEnumArgumentException, ExternalException- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionFormatExceptionInvalidEnumArgumentExceptionExternalException
-
-