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=9.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.String
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Windows.Formsstatic java.lang.String
className
Qualified class name: System.Windows.Forms.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 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 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 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)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=9.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
-
-
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, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ThreadStateException, ExternalException, ArgumentNullException
-
ContainsData
public static boolean ContainsData(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, ExternalException, ArgumentNullException
-
ContainsFileDropList
public static boolean ContainsFileDropList() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, ThreadStateException, ExternalException
-
ContainsImage
public static boolean ContainsImage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, ThreadStateException, ExternalException
-
ContainsText
public static boolean ContainsText() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, InvalidOperationException, ThreadStateException, ExternalException, ArgumentNullException
-
ContainsText
public static boolean ContainsText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException, ArgumentNullException
-
GetFileDropList
public static StringCollection GetFileDropList() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, ThreadStateException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
NotSupportedException
ObjectDisposedException
ThreadStateException
ExternalException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidCastException
-
GetImage
public static Image GetImage() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, ObjectDisposedException, ThreadStateException, ExternalException
-
GetAudioStream
public static Stream GetAudioStream() throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ThreadStateException, ExternalException, ArgumentNullException
-
GetData
public static NetObject GetData(java.lang.String format) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, ExternalException, ArgumentNullException
-
GetText
public static java.lang.String GetText() throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, InvalidOperationException, ThreadStateException, ExternalException, ArgumentNullException
-
GetText
public static java.lang.String GetText(TextDataFormat format) throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException, ArgumentNullException
-
GetDataObject
public static IDataObject GetDataObject() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ThreadStateException, ExternalException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, ArgumentNullException
-
Clear
public static void Clear() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, ThreadStateException, ExternalException
-
SetAudio
public static void SetAudio(byte[] audioBytes) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ThreadStateException, ExternalException
-
SetAudio
public static void SetAudio(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ThreadStateException, ExternalException
-
SetAudio
public static void SetAudio(Stream audioStream) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
-
SetData
public static void SetData(java.lang.String format, NetObject data) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
-
SetDataObject
public static void SetDataObject(NetObject data, boolean copy, int retryTimes, int retryDelay) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, CultureNotFoundException, ThreadStateException, ExternalException
-
SetDataObject
public static void SetDataObject(NetObject data, boolean copy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ThreadStateException, ExternalException
-
SetDataObject
public static void SetDataObject(NetObject data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ThreadStateException, ExternalException
-
SetFileDropList
public static void SetFileDropList(StringCollection filePaths) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, ThreadStateException, ExternalException
-
SetImage
public static void SetImage(Image image) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, ThreadStateException, FormatException, ExternalException
-
SetText
public 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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
InvalidEnumArgumentException
ThreadStateException
ExternalException
-
SetText
public static void SetText(java.lang.String text) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, InvalidEnumArgumentException, ThreadStateException, ExternalException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
FormatException
InvalidEnumArgumentException
ThreadStateException
ExternalException
-
-