Class LayoutStyle
public class LayoutStyle : JVMBridgeBase<LayoutStyle>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
LayoutStyle
- Implements
- Extension Methods
Constructors
LayoutStyle()
public LayoutStyle()
LayoutStyle(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public LayoutStyle(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Instance
https://docs.oracle.com/javase/8/docs/api/javax/swing/LayoutStyle.html#getInstance-- https://docs.oracle.com/javase/8/docs/api/javax/swing/LayoutStyle.html#setInstance-javax.swing.LayoutStyle-
public static LayoutStyle Instance { get; set; }
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 java.lang.AutoCloseable
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
Methods
CreatePoolableInstance()
HPA initializer for LayoutStyle()
public static LayoutStyle CreatePoolableInstance()
Returns
GetContainerGap(JComponent, int, Container)
public int GetContainerGap(JComponent arg0, int arg1, Container arg2)
Parameters
arg0JComponentarg1intarg2Container
Returns
GetPreferredGap(JComponent, JComponent, ComponentPlacement, int, Container)
public int GetPreferredGap(JComponent arg0, JComponent arg1, LayoutStyle.ComponentPlacement arg2, int arg3, Container arg4)
Parameters
arg0JComponentarg1JComponentarg2LayoutStyle.ComponentPlacementarg3intarg4Container