Table of Contents

Class JCGraphicContainer

Namespace
MASES.JCOBridge.C2JBridge.J2CBridgeWrapper
Assembly
C2JBridgeDesktop.dll

JCGraphicContainer

public class JCGraphicContainer : IJCGraphicContainer
Inheritance
JCGraphicContainer
Implements
Inherited Members
Extension Methods

Constructors

JCGraphicContainer(IJavaObject, bool)

Ctor

public JCGraphicContainer(IJavaObject remoteContainer, bool isWPF)

Parameters

remoteContainer IJavaObject
isWPF bool

Properties

GraphicObject

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

public object GraphicObject { get; }

Property Value

object

IsDetached

Returns true if the control detached from the grpahic tree

public 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)

public 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)

public 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)

public IJavaObject RemoteComponent { get; }

Property Value

IJavaObject

RemoteContainer

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

public IJavaObject RemoteContainer { get; }

Property Value

IJavaObject

WindowsManager

The JCWindowsManager associated during invocation of Initialize(JCWindowsManager)

public JCWindowsManager WindowsManager { get; }

Property Value

JCWindowsManager

Methods

Initialize(JCWindowsManager)

Initialize the IJCGraphicContainer

public void Initialize(JCWindowsManager manager)

Parameters

manager JCWindowsManager

Default or a class inherited from JCWindowsManager managing windows positioning