Table of Contents

Class Container

Namespace
Java.Awt
Assembly
MASES.JNet.dll
public class Container : Component, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Component>
Container
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Component>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Component>.IsAssignableFrom<T>()
JVMBridgeBase<Component>.Execute<T>(params T[])
JVMBridgeBase<Component>.DynBridgeClazz
JVMBridgeBase<Component>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

ComponentCount

public int ComponentCount { get; }

Property Value

int

Components

public Component[] Components { get; }

Property Value

Component[]

ContainerListeners

public ContainerListener[] ContainerListeners { get; }

Property Value

ContainerListener[]

FocusTraversalPolicy

public FocusTraversalPolicy FocusTraversalPolicy { get; set; }

Property Value

FocusTraversalPolicy

HostedContainer

Returns the hostable MASES.JCOBridge.C2JBridge.IJCGraphicContainer

public IJCGraphicContainer HostedContainer { get; }

Property Value

IJCGraphicContainer

Insets

public Insets Insets { get; }

Property Value

Insets

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Layout

public LayoutManager Layout { get; set; }

Property Value

LayoutManager

Methods

Add(Component)

public Component Add(Component arg0)

Parameters

arg0 Component

Component

Returns

Component

Component

Add(Component, int)

public Component Add(Component arg0, int arg1)

Parameters

arg0 Component

Component

arg1 int

int

Returns

Component

Component

Add(Component, object)

public void Add(Component arg0, object arg1)

Parameters

arg0 Component

Component

arg1 object

object

Add(Component, object, int)

public void Add(Component arg0, object arg1, int arg2)

Parameters

arg0 Component

Component

arg1 object

object

arg2 int

int

Add(String, Component)

public Component Add(String arg0, Component arg1)

Parameters

arg0 String

String

arg1 Component

Component

Returns

Component

Component

AddContainerListener(ContainerListener)

public void AddContainerListener(ContainerListener arg0)

Parameters

arg0 ContainerListener

ContainerListener

CreateHostedContainer(bool, JCWindowsManager)

Creates the HostedContainer and returns MASES.JCOBridge.C2JBridge.IJCGraphicContainer.GraphicObject

public object CreateHostedContainer(bool isWPF, JCWindowsManager manager = null)

Parameters

isWPF bool

true if the object will be inserted in a WPF layout, false if the object will be inserted in a Windows Forms layout

manager JCWindowsManager

The MASES.JCOBridge.C2JBridge.JCWindowsManager to use, to use MASES.JCOBridge.C2JBridge.JCWindowsManager.Default

Returns

object

The object in the MASES.JCOBridge.C2JBridge.IJCGraphicContainer.GraphicObject property

Dispose()

Dispose this resource

public override void Dispose()

~Container()

Finalizer of Container

protected ~Container()

FindComponentAt(Point)

public Component FindComponentAt(Point arg0)

Parameters

arg0 Point

Point

Returns

Component

Component

FindComponentAt(int, int)

public Component FindComponentAt(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

Component

Component

GetComponent(int)

public Component GetComponent(int arg0)

Parameters

arg0 int

int

Returns

Component

Component

GetComponentZOrder(Component)

public int GetComponentZOrder(Component arg0)

Parameters

arg0 Component

Component

Returns

int

int

GetMousePosition(bool)

public Point GetMousePosition(bool arg0)

Parameters

arg0 bool

bool

Returns

Point

Point

Exceptions

HeadlessException

IsAncestorOf(Component)

public bool IsAncestorOf(Component arg0)

Parameters

arg0 Component

Component

Returns

bool

bool

IsFocusCycleRoot()

public bool IsFocusCycleRoot()

Returns

bool

bool

IsFocusTraversalPolicyProvider()

public bool IsFocusTraversalPolicyProvider()

Returns

bool

bool

IsFocusTraversalPolicySet()

public bool IsFocusTraversalPolicySet()

Returns

bool

bool

IsValidateRoot()

public bool IsValidateRoot()

Returns

bool

bool

PaintComponents(Graphics)

public void PaintComponents(Graphics arg0)

Parameters

arg0 Graphics

Graphics

PrintComponents(Graphics)

public void PrintComponents(Graphics arg0)

Parameters

arg0 Graphics

Graphics

Remove(Component)

public void Remove(Component arg0)

Parameters

arg0 Component

Component

Remove(int)

public void Remove(int arg0)

Parameters

arg0 int

int

RemoveAll()

public void RemoveAll()

RemoveContainerListener(ContainerListener)

public void RemoveContainerListener(ContainerListener arg0)

Parameters

arg0 ContainerListener

ContainerListener

SetComponentZOrder(Component, int)

public void SetComponentZOrder(Component arg0, int arg1)

Parameters

arg0 Component

Component

arg1 int

int

SetFocusCycleRoot(bool)

public void SetFocusCycleRoot(bool arg0)

Parameters

arg0 bool

bool

SetFocusTraversalPolicyProvider(bool)

public void SetFocusTraversalPolicyProvider(bool arg0)

Parameters

arg0 bool

bool

TransferFocusDownCycle()

public void TransferFocusDownCycle()