Class WindowAdapter
Listener for https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/event/WindowAdapter.html. Extends https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeListener.htm, implements IWindowAdapter
public class WindowAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IWindowAdapter, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<JVMBridgeListener>JVMBridgeListenerWindowAdapter
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeListener.Dispose()JVMBridgeListener.AutoInitJVMBridgeListener.IsBridgeStaticJVMBridgeListener.IsBridgeCloseableJVMBridgeListener.IsBridgeListenerJVMBridgeBase<JVMBridgeListener>.IsAssignableFrom(IJavaType)JVMBridgeBase<JVMBridgeListener>.IsAssignableFrom<T>()JVMBridgeBase<JVMBridgeListener>.Execute<T>(params T[])JVMBridgeBase<JVMBridgeListener>.DynBridgeClazzJVMBridgeBase<JVMBridgeListener>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeInterfaceJVMBridgeBase.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
OnWindowActivated
public Action<WindowEvent> OnWindowActivated { get; set; }
Property Value
Remarks
If OnWindowActivated has a value it takes precedence over corresponding class method
OnWindowClosed
public Action<WindowEvent> OnWindowClosed { get; set; }
Property Value
Remarks
If OnWindowClosed has a value it takes precedence over corresponding class method
OnWindowClosing
public Action<WindowEvent> OnWindowClosing { get; set; }
Property Value
Remarks
If OnWindowClosing has a value it takes precedence over corresponding class method
OnWindowDeactivated
public Action<WindowEvent> OnWindowDeactivated { get; set; }
Property Value
Remarks
If OnWindowDeactivated has a value it takes precedence over corresponding class method
OnWindowDeiconified
public Action<WindowEvent> OnWindowDeiconified { get; set; }
Property Value
Remarks
If OnWindowDeiconified has a value it takes precedence over corresponding class method
OnWindowGainedFocus
public Action<WindowEvent> OnWindowGainedFocus { get; set; }
Property Value
Remarks
If OnWindowGainedFocus has a value it takes precedence over corresponding class method
OnWindowIconified
public Action<WindowEvent> OnWindowIconified { get; set; }
Property Value
Remarks
If OnWindowIconified has a value it takes precedence over corresponding class method
OnWindowLostFocus
public Action<WindowEvent> OnWindowLostFocus { get; set; }
Property Value
Remarks
If OnWindowLostFocus has a value it takes precedence over corresponding class method
OnWindowOpened
public Action<WindowEvent> OnWindowOpened { get; set; }
Property Value
Remarks
If OnWindowOpened has a value it takes precedence over corresponding class method
OnWindowStateChanged
public Action<WindowEvent> OnWindowStateChanged { get; set; }
Property Value
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
WindowClosed(WindowEvent)
public virtual void WindowClosed(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowClosing(WindowEvent)
public virtual void WindowClosing(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowDeactivated(WindowEvent)
public virtual void WindowDeactivated(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowDeiconified(WindowEvent)
public virtual void WindowDeiconified(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowGainedFocus(WindowEvent)
public virtual void WindowGainedFocus(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowIconified(WindowEvent)
public virtual void WindowIconified(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowLostFocus(WindowEvent)
public virtual void WindowLostFocus(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowOpened(WindowEvent)
public virtual void WindowOpened(WindowEvent arg0)
Parameters
arg0
WindowEvent
WindowStateChanged(WindowEvent)
public virtual void WindowStateChanged(WindowEvent arg0)
Parameters
arg0
WindowEvent