Class Container
public class Container : Component, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Component>Container
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)JVMBridgeBase<Component>.IsAssignableFrom<T>()JVMBridgeBase<Component>.Execute<T>(params T[])JVMBridgeBase<Component>.DynBridgeClazzJVMBridgeBase<Component>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Container()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Container()
Container(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 Container(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ComponentCount
public int ComponentCount { get; }
Property Value
Components
public Component[] Components { get; }
Property Value
ContainerListeners
public ContainerListener[] ContainerListeners { get; }
Property Value
FocusTraversalPolicy
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html#getFocusTraversalPolicy() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html#setFocusTraversalPolicy(java.awt.FocusTraversalPolicy)
public FocusTraversalPolicy FocusTraversalPolicy { get; set; }
Property Value
HostedContainer
Returns the hostable MASES.JCOBridge.C2JBridge.IJCGraphicContainer
public IJCGraphicContainer HostedContainer { get; }
Property Value
- IJCGraphicContainer
Insets
public Insets Insets { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Layout
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html#getLayout() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Container.html#setLayout(java.awt.LayoutManager)
public LayoutManager Layout { get; set; }
Property Value
Methods
Add(Component)
public Component Add(Component arg0)
Parameters
Returns
Add(Component, int)
public Component Add(Component arg0, int arg1)
Parameters
Returns
Add(Component, object)
public void Add(Component arg0, object arg1)
Parameters
Add(Component, object, int)
public void Add(Component arg0, object arg1, int arg2)
Parameters
Add(String, Component)
public Component Add(String arg0, Component arg1)
Parameters
Returns
AddContainerListener(ContainerListener)
public void AddContainerListener(ContainerListener arg0)
Parameters
CreateHostedContainer(bool, JCWindowsManager)
Creates the HostedContainer and returns MASES.JCOBridge.C2JBridge.IJCGraphicContainer.GraphicObject
public object CreateHostedContainer(bool isWPF, JCWindowsManager manager = null)
Parameters
isWPF
booltrue if the object will be inserted in a WPF layout, false if the object will be inserted in a Windows Forms layout
manager
JCWindowsManagerThe MASES.JCOBridge.C2JBridge.JCWindowsManager to use,
to use MASES.JCOBridge.C2JBridge.JCWindowsManager.Default
Returns
Dispose()
Dispose this resource
public override void Dispose()
~Container()
Finalizer of Container
protected ~Container()
FindComponentAt(Point)
public Component FindComponentAt(Point arg0)
Parameters
Returns
FindComponentAt(int, int)
public Component FindComponentAt(int arg0, int arg1)
Parameters
Returns
GetComponent(int)
public Component GetComponent(int arg0)
Parameters
Returns
GetComponentZOrder(Component)
public int GetComponentZOrder(Component arg0)
Parameters
Returns
GetMousePosition(bool)
public Point GetMousePosition(bool arg0)
Parameters
Returns
Exceptions
IsAncestorOf(Component)
public bool IsAncestorOf(Component arg0)
Parameters
Returns
IsFocusCycleRoot()
public bool IsFocusCycleRoot()
Returns
IsFocusTraversalPolicyProvider()
public bool IsFocusTraversalPolicyProvider()
Returns
IsFocusTraversalPolicySet()
public bool IsFocusTraversalPolicySet()
Returns
IsValidateRoot()
public bool IsValidateRoot()
Returns
PaintComponents(Graphics)
public void PaintComponents(Graphics arg0)
Parameters
PrintComponents(Graphics)
public void PrintComponents(Graphics arg0)
Parameters
Remove(Component)
public void Remove(Component arg0)
Parameters
Remove(int)
public void Remove(int arg0)
Parameters
RemoveAll()
public void RemoveAll()
RemoveContainerListener(ContainerListener)
public void RemoveContainerListener(ContainerListener arg0)
Parameters
SetComponentZOrder(Component, int)
public void SetComponentZOrder(Component arg0, int arg1)
Parameters
SetFocusCycleRoot(bool)
public void SetFocusCycleRoot(bool arg0)
Parameters
SetFocusTraversalPolicyProvider(bool)
public void SetFocusTraversalPolicyProvider(bool arg0)
Parameters
TransferFocusDownCycle()
public void TransferFocusDownCycle()