Table of Contents

Class WindowAdapter

Namespace
Java.Awt.EventNs
Assembly
MASES.JNet.dll
public class WindowAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IWindowAdapter, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
WindowAdapter
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeListener.Dispose()
JVMBridgeListener.AutoInit
JVMBridgeListener.IsBridgeStatic
JVMBridgeListener.IsBridgeCloseable
JVMBridgeListener.IsBridgeListener
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)
JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()
JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])
JVMBridgeBase<JVMBridgeListener>.DynBridgeClazz
JVMBridgeBase<JVMBridgeListener>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeAbstract
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

WindowAdapter()

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

public WindowAdapter()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnWindowActivated

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowClosed

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowClosing

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowDeactivated

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowDeiconified

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowGainedFocus

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowIconified

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

Property Value

Action<WindowEvent>

Remarks

If OnWindowIconified 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

OnWindowOpened

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

Property Value

Action<WindowEvent>

Remarks

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

OnWindowStateChanged

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

Property Value

Action<WindowEvent>

Remarks

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

Methods

InitializeHandlers()

Handlers initializer for WindowAdapter

protected virtual void InitializeHandlers()

WindowActivated(WindowEvent)

public virtual void WindowActivated(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowClosed(WindowEvent)

public virtual void WindowClosed(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowClosing(WindowEvent)

public virtual void WindowClosing(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowDeactivated(WindowEvent)

public virtual void WindowDeactivated(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowDeiconified(WindowEvent)

public virtual void WindowDeiconified(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowGainedFocus(WindowEvent)

public virtual void WindowGainedFocus(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowIconified(WindowEvent)

public virtual void WindowIconified(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowLostFocus(WindowEvent)

public virtual void WindowLostFocus(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowOpened(WindowEvent)

public virtual void WindowOpened(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent

WindowStateChanged(WindowEvent)

public virtual void WindowStateChanged(WindowEvent arg0)

Parameters

arg0 WindowEvent

WindowEvent