public class Padding extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.Padding
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.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms.Primitives
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.Padding
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Padding() |
Padding(int all)
Initializes a new instance by invoking the .NET constructor.
|
Padding(int left,
int top,
int right,
int bottom)
Initializes a new instance by invoking the .NET constructor.
|
Padding(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Padding |
Add(Padding p1,
Padding p2)
Invokes the .NET member Add.
|
static Padding |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Padding, a cast assert is made to check if types are compatible. |
boolean |
Equals(Padding other)
Invokes the .NET member Equals.
|
int |
getAll()
Gets the value of the .NET property All.
|
int |
getBottom()
Gets the value of the .NET property Bottom.
|
int |
getHorizontal()
Gets the value of the .NET property Horizontal.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getLeft()
Gets the value of the .NET property Left.
|
int |
getRight()
Gets the value of the .NET property Right.
|
Size |
getSize()
Gets the value of the .NET property Size.
|
int |
getTop()
Gets the value of the .NET property Top.
|
int |
getVertical()
Gets the value of the .NET property Vertical.
|
void |
setAll(int All)
Sets the value of the .NET property All.
|
void |
setBottom(int Bottom)
Sets the value of the .NET property Bottom.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLeft(int Left)
Sets the value of the .NET property Left.
|
void |
setRight(int Right)
Sets the value of the .NET property Right.
|
void |
setTop(int Top)
Sets the value of the .NET property Top.
|
static Padding |
Subtract(Padding p1,
Padding p2)
Invokes the .NET member Subtract.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Padding()
throws java.lang.Throwable
java.lang.Throwablepublic Padding(int all)
throws java.lang.Throwable
all - the argument of type intjava.lang.Throwable - if the .NET constructor failspublic Padding(int left,
int top,
int right,
int bottom)
throws java.lang.Throwable
left - the argument of type inttop - the argument of type intright - the argument of type intbottom - the argument of type intjava.lang.Throwable - if the .NET constructor failspublic Padding(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static Padding Add(Padding p1, Padding p2) throws java.lang.Throwable
p1 - the argument of type Paddingp2 - the argument of type Paddingjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Padding cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Padding, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPadding instancejava.lang.Throwable - in case of error during cast operationpublic boolean Equals(Padding other) throws java.lang.Throwable
other - the argument of type Paddingjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getAll()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getBottom()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getHorizontal()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic int getLeft()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getRight()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Size getSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getTop()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getVertical()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAll(int All)
throws java.lang.Throwable
All - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBottom(int Bottom)
throws java.lang.Throwable
Bottom - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic void setLeft(int Left)
throws java.lang.Throwable
Left - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRight(int Right)
throws java.lang.Throwable
Right - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setTop(int Top)
throws java.lang.Throwable
Top - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Padding Subtract(Padding p1, Padding p2) throws java.lang.Throwable
p1 - the argument of type Paddingp2 - the argument of type Paddingjava.lang.Throwable - if the call fails in the bridge or in the CLR