Table of Contents

Class InputMethodListener

Namespace
Java.Awt.EventNs
Assembly
MASES.JNet.dll
public class InputMethodListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IEventListener, IInputMethodListener, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
InputMethodListener
Implements
Derived
Inherited Members
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

InputMethodListener()

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

public InputMethodListener()

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

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnCaretPositionChanged

public Action<InputMethodEvent> OnCaretPositionChanged { get; set; }

Property Value

Action<InputMethodEvent>

Remarks

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

OnInputMethodTextChanged

public Action<InputMethodEvent> OnInputMethodTextChanged { get; set; }

Property Value

Action<InputMethodEvent>

Remarks

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

Methods

CaretPositionChanged(InputMethodEvent)

public virtual void CaretPositionChanged(InputMethodEvent arg0)

Parameters

arg0 InputMethodEvent

InputMethodEvent

InitializeHandlers()

Handlers initializer for InputMethodListener

protected virtual void InitializeHandlers()

InputMethodTextChanged(InputMethodEvent)

public virtual void InputMethodTextChanged(InputMethodEvent arg0)

Parameters

arg0 InputMethodEvent

InputMethodEvent