Table of Contents

Interface IJCGraphicContainer

Namespace
MASES.JCOBridge.C2JBridge
Assembly
C2JBridge.dll

The interface which manages interaction with remote Graphic Container. It is the main interface to insert a Java Control within a WPF/WinForms application

public interface IJCGraphicContainer
Extension Methods

Properties

GraphicObject

The generic object to be inserted in graphic layout: FrameworkElement for WPF, Control for WinForms

object GraphicObject { get; }

Property Value

object

IsDetached

Returns true if the control detached from the grpahic tree

bool IsDetached { get; }

Property Value

bool

IsRemoteManaged

Returns true if the control has its own message pump, position management (SWT is an example of this behavior)

bool IsRemoteManaged { get; }

Property Value

bool

IsWPF

Returns true if the control is a WPF one, the value is the one used during call to to GetJCGraphicContainer(IJavaObject, bool) or GetJCGraphicContainer(string, bool)

bool IsWPF { get; }

Property Value

bool

RemoteComponent

The IJavaObject entry to interact with the remote component: the one used during call to GetJCGraphicContainer(IJavaObject, bool) or GetJCGraphicContainer(string, bool)

IJavaObject RemoteComponent { get; }

Property Value

IJavaObject

RemoteContainer

The IJavaObject entry to interact with the remote container (a java.awt.Frame)

IJavaObject RemoteContainer { get; }

Property Value

IJavaObject

WindowsManager

The JCWindowsManager associated during invocation of Initialize(JCWindowsManager)

JCWindowsManager WindowsManager { get; }

Property Value

JCWindowsManager

Methods

Initialize(JCWindowsManager)

Initialize the IJCGraphicContainer

void Initialize(JCWindowsManager manager)

Parameters

manager JCWindowsManager

Default or a class inherited from JCWindowsManager managing windows positioning