Table of Contents

Class WindowFocusListener

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

Constructors

WindowFocusListener()

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

public WindowFocusListener()

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnWindowGainedFocus

public Action<WindowEvent> OnWindowGainedFocus { get; set; }

Property Value

Action<WindowEvent>

Remarks

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

OnWindowLostFocus

public Action<WindowEvent> OnWindowLostFocus { get; set; }

Property Value

Action<WindowEvent>

Remarks

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

Methods

InitializeHandlers()

Handlers initializer for WindowFocusListener

protected virtual void InitializeHandlers()

WindowGainedFocus(WindowEvent)

public virtual void WindowGainedFocus(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowLostFocus(WindowEvent)

public virtual void WindowLostFocus(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent