Table of Contents

Class AWTEventListener

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

Remarks

Remember to Dispose the object otherwise there is a resource leak, the object contains a reference to the the corresponding JVM object

Constructors

AWTEventListener()

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

public AWTEventListener()

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnEventDispatched

public Action<AWTEvent> OnEventDispatched { get; set; }

Property Value

Action<AWTEvent>

Remarks

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

Methods

EventDispatched(AWTEvent)

public virtual void EventDispatched(AWTEvent arg0)

Parameters

arg0 AWTEvent

AWTEvent

InitializeHandlers()

Handlers initializer for AWTEventListener

protected virtual void InitializeHandlers()