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=4.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, NotImplementedException, OverflowException, ArgumentNullException, FormatException, ArgumentException, SecurityException, ArgumentOutOfRangeException, ConfigurationErrorsException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
public Cursor(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Cursor(Stream stream) throws java.lang.Throwable, OverflowException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, SecurityException, NotSupportedException, ConfigurationErrorsException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException
java.lang.ThrowableOverflowExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionNotSupportedExceptionConfigurationErrorsExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionMissingManifestResourceExceptionpublic Cursor(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ArgumentOutOfRangeException,
FormatException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NotSupportedException,
InvalidOperationException,
NullReferenceException,
SecurityException,
OverflowException,
ConfigurationErrorsException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionOverflowExceptionConfigurationErrorsExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionpublic 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,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void Draw(Graphics g, Rectangle targetRect) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException
public void DrawStretched(Graphics g, Rectangle targetRect) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, OutOfMemoryException
public static Rectangle getClip() throws java.lang.Throwable
java.lang.Throwablepublic static Cursor getCurrent() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, SecurityException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public Point getHotSpot() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, SecurityException, NotSupportedException, MissingMethodException, NotImplementedException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionSecurityExceptionNotSupportedExceptionMissingMethodExceptionNotImplementedExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionpublic 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,
ArgumentNullException,
FormatException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionpublic static void setClip(Rectangle Clip) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionpublic static void setCurrent(Cursor Current) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void setPosition(Point Position) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionpublic void setTag(NetObject Tag) throws java.lang.Throwable
java.lang.Throwablepublic static void Show()
throws java.lang.Throwable
java.lang.Throwable