Class SpringLayout
public class SpringLayout : LayoutManager2, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ILayoutManager2, ILayoutManager
- Inheritance
-
SpringLayout
- Implements
- Inherited Members
-
JVMBridgeBase<LayoutManager>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<LayoutManager>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])
- Extension Methods
Constructors
SpringLayout()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SpringLayout()
SpringLayout(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public SpringLayout(params object[] args)
Parameters
args
object[]
Properties
BASELINE
public static String BASELINE { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
EAST
public static String EAST { get; }
Property Value
HEIGHT
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/SpringLayout.html#HEIGHT
public static String HEIGHT { get; }
Property Value
HORIZONTAL_CENTER
public static String HORIZONTAL_CENTER { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
NORTH
public static String NORTH { get; }
Property Value
SOUTH
public static String SOUTH { get; }
Property Value
VERTICAL_CENTER
public static String VERTICAL_CENTER { get; }
Property Value
WEST
public static String WEST { get; }
Property Value
WIDTH
public static String WIDTH { get; }
Property Value
Methods
AddLayoutComponent(Component, object)
public void AddLayoutComponent(Component arg0, object arg1)
Parameters
AddLayoutComponent(String, Component)
public void AddLayoutComponent(String arg0, Component arg1)
Parameters
GetConstraint(String, Component)
public Spring GetConstraint(String arg0, Component arg1)
Parameters
Returns
GetConstraints(Component)
public SpringLayout.Constraints GetConstraints(Component arg0)
Parameters
Returns
GetLayoutAlignmentX(Container)
public float GetLayoutAlignmentX(Container arg0)
Parameters
Returns
GetLayoutAlignmentY(Container)
public float GetLayoutAlignmentY(Container arg0)
Parameters
Returns
InvalidateLayout(Container)
public void InvalidateLayout(Container arg0)
Parameters
LayoutContainer(Container)
public void LayoutContainer(Container arg0)
Parameters
MaximumLayoutSize(Container)
public Dimension MaximumLayoutSize(Container arg0)
Parameters
Returns
MinimumLayoutSize(Container)
public Dimension MinimumLayoutSize(Container arg0)
Parameters
Returns
PreferredLayoutSize(Container)
public Dimension PreferredLayoutSize(Container arg0)
Parameters
Returns
PutConstraint(String, Component, Spring, String, Component)
public void PutConstraint(String arg0, Component arg1, Spring arg2, String arg3, Component arg4)
Parameters
PutConstraint(String, Component, int, String, Component)
public void PutConstraint(String arg0, Component arg1, int arg2, String arg3, Component arg4)
Parameters
RemoveLayoutComponent(Component)
public void RemoveLayoutComponent(Component arg0)