Class WindowStateListener
public class WindowStateListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEventListener, IWindowStateListener
- Inheritance
-
WindowStateListener
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
WindowStateListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public WindowStateListener()
WindowStateListener(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public WindowStateListener(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
WindowStateListener(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 WindowStateListener(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
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 WindowStateListener
protected virtual void InitializeHandlers()
WindowStateChanged(WindowEvent)
public virtual void WindowStateChanged(WindowEvent arg0)
Parameters
arg0WindowEvent