public class Cursor extends NetObject implements ISerializable, java.lang.AutoCloseable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Forms.Cursor
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: System.Windows.Forms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Cursor
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Cursor() |
Cursor(NetType type,
java.lang.String resource) |
Cursor(java.lang.Object instance)
Internal constructor.
|
Cursor(Stream stream) |
Cursor(java.lang.String fileName) |
| Modifier and Type | Method and Description |
|---|---|
static Cursor |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Cursor, a cast assert is made to check if types are compatible. |
void |
close() |
void |
Dispose() |
void |
Draw(Graphics g,
Rectangle targetRect) |
void |
DrawStretched(Graphics g,
Rectangle targetRect) |
static Rectangle |
getClip() |
static Cursor |
getCurrent() |
Point |
getHotSpot() |
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 Point |
getPosition() |
Size |
getSize() |
NetObject |
getTag() |
static void |
Hide() |
static void |
setClip(Rectangle Clip) |
static void |
setCurrent(Cursor Current) |
void |
setJCOInstance(JCObject instance) |
static void |
setPosition(Point Position) |
void |
setTag(NetObject Tag) |
static void |
Show() |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringGetObjectData, ToISerializablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Cursor()
throws java.lang.Throwable
java.lang.Throwablepublic Cursor(NetType type, java.lang.String resource) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, ObjectDisposedException, ArrayTypeMismatchException, Win32Exception
public Cursor(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Cursor(Stream stream) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, Win32Exception
public Cursor(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidOperationException,
FormatException,
OutOfMemoryException,
SerializationException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
ObjectDisposedException,
IOException,
ArrayTypeMismatchException,
WaitHandleCannotBeOpenedException,
AbandonedMutexException,
Win32Exception
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionInvalidOperationExceptionFormatExceptionOutOfMemoryExceptionSerializationExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionObjectDisposedExceptionIOExceptionArrayTypeMismatchExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionWin32Exceptionpublic static Cursor cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Cursor, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCursor instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic void Draw(Graphics g, Rectangle targetRect) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException
public void DrawStretched(Graphics g, Rectangle targetRect) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException
public static Rectangle getClip() throws java.lang.Throwable
java.lang.Throwablepublic static Cursor getCurrent() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
public Point getHotSpot() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ISerializablegetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ISerializablegetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ISerializablegetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ISerializablegetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ISerializablegetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static Point getPosition() throws java.lang.Throwable
java.lang.Throwablepublic Size getSize() throws java.lang.Throwable
java.lang.Throwablepublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwablepublic static void Hide()
throws java.lang.Throwable
java.lang.Throwablepublic static void setClip(Rectangle Clip) throws java.lang.Throwable
java.lang.Throwablepublic static void setCurrent(Cursor Current) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void setPosition(Point Position) throws java.lang.Throwable
java.lang.Throwablepublic void setTag(NetObject Tag) throws java.lang.Throwable
java.lang.Throwablepublic static void Show()
throws java.lang.Throwable
java.lang.Throwable