public class Size extends ValueType implements IFormattable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Size
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: WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsBase
|
static java.lang.String |
className
Qualified class name: System.Windows.Size
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Size() |
Size(double width,
double height) |
Size(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Size |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Size, a cast assert is made to check if types are compatible. |
boolean |
Equals(Size value) |
static boolean |
Equals(Size size1,
Size size2) |
static Size |
getEmpty() |
double |
getHeight() |
boolean |
getIsEmpty() |
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
|
double |
getWidth() |
static Size |
Parse(java.lang.String source) |
void |
setHeight(double Height) |
void |
setJCOInstance(JCObject instance) |
void |
setWidth(double Width) |
java.lang.String |
ToString(IFormatProvider provider) |
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIFormattable, ToStringpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Size()
throws java.lang.Throwable
java.lang.Throwablepublic Size(double width,
double height)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public Size(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Size cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Size, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSize instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(Size value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean Equals(Size size1, Size size2) throws java.lang.Throwable
java.lang.Throwablepublic static Size getEmpty() throws java.lang.Throwable
java.lang.Throwablepublic double getHeight()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IFormattablegetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IFormattablegetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IFormattablegetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IFormattablegetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IFormattablegetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic double getWidth()
throws java.lang.Throwable
java.lang.Throwablepublic static Size Parse(java.lang.String source) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, NullReferenceException, FormatException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionNullReferenceExceptionFormatExceptionOverflowExceptionpublic void setHeight(double Height)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic void setWidth(double Width)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, FormatException