Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.event

Interface InputMethodListener

java.lang.Object
|
+--java.util.EventListener
   |
   +--java.awt.event.InputMethodListener

All Implemented Interfaces:

EventListener


public interface InputMethodListener

implements EventListener

This interface is for classes that wish to receive events from an input method. For a text component to use input methods, it must also install an InputMethodRequests handler.

Since:Author:See Also:

Method Summary

voidcaretPositionChanged(java.awt.event.InputMethodEvent event)

This method is called when the cursor position within the text is changed.
voidinputMethodTextChanged(java.awt.event.InputMethodEvent event)

This method is called when the text is changed.

Method Details

caretPositionChanged

public void caretPositionChanged(java.awt.event.InputMethodEvent event)

This method is called when the cursor position within the text is changed.

Parameters:


inputMethodTextChanged

public void inputMethodTextChanged(java.awt.event.InputMethodEvent event)

This method is called when the text is changed.

Parameters: