Table of Contents

Class KeyAdapter

Namespace
Java.Awt.EventNs
Assembly
MASES.JNet.dll
public class KeyAdapter : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<JVMBridgeListener>
JVMBridgeListener
KeyAdapter
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

Constructors

KeyAdapter()

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

public KeyAdapter()

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

OnKeyPressed

public Action<KeyEvent> OnKeyPressed { get; set; }

Property Value

Action<KeyEvent>

Remarks

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

OnKeyReleased

public Action<KeyEvent> OnKeyReleased { get; set; }

Property Value

Action<KeyEvent>

Remarks

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

OnKeyTyped

public Action<KeyEvent> OnKeyTyped { get; set; }

Property Value

Action<KeyEvent>

Remarks

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

Methods

InitializeHandlers()

Handlers initializer for KeyAdapter

protected virtual void InitializeHandlers()

KeyPressed(KeyEvent)

public virtual void KeyPressed(KeyEvent arg0)

Parameters

arg0 KeyEvent

KeyEvent

KeyReleased(KeyEvent)

public virtual void KeyReleased(KeyEvent arg0)

Parameters

arg0 KeyEvent

KeyEvent

KeyTyped(KeyEvent)

public virtual void KeyTyped(KeyEvent arg0)

Parameters

arg0 KeyEvent

KeyEvent