Table of Contents

Class ComponentAdapter

Namespace
Java.Awt.EventNs
Assembly
MASES.JNet.dll
public class ComponentAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
ComponentAdapter
Implements
Derived
Inherited Members
Extension Methods

Constructors

ComponentAdapter()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ComponentAdapter()

ComponentAdapter(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 ComponentAdapter(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnComponentHidden

public Action<ComponentEvent> OnComponentHidden { get; set; }

Property Value

Action<ComponentEvent>

Remarks

If OnComponentHidden has a value it takes precedence over corresponding class method

OnComponentMoved

public Action<ComponentEvent> OnComponentMoved { get; set; }

Property Value

Action<ComponentEvent>

Remarks

If OnComponentMoved has a value it takes precedence over corresponding class method

OnComponentResized

public Action<ComponentEvent> OnComponentResized { get; set; }

Property Value

Action<ComponentEvent>

Remarks

If OnComponentResized has a value it takes precedence over corresponding class method

OnComponentShown

public Action<ComponentEvent> OnComponentShown { get; set; }

Property Value

Action<ComponentEvent>

Remarks

If OnComponentShown has a value it takes precedence over corresponding class method

Methods

ComponentHidden(ComponentEvent)

public virtual void ComponentHidden(ComponentEvent arg0)

Parameters

arg0 ComponentEvent

ComponentEvent

ComponentMoved(ComponentEvent)

public virtual void ComponentMoved(ComponentEvent arg0)

Parameters

arg0 ComponentEvent

ComponentEvent

ComponentResized(ComponentEvent)

public virtual void ComponentResized(ComponentEvent arg0)

Parameters

arg0 ComponentEvent

ComponentEvent

ComponentShown(ComponentEvent)

public virtual void ComponentShown(ComponentEvent arg0)

Parameters

arg0 ComponentEvent

ComponentEvent

InitializeHandlers()

Handlers initializer for ComponentAdapter

protected virtual void InitializeHandlers()