aicas logoJamaica 3.2 release 62

java.awt.event
Interface InputMethodListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AWTEventMulticaster

public interface InputMethodListener
extends 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:
1.2
See Also:
InputMethodEvent, InputMethodRequests
Status:
updated to 1.4

Method Summary
 void caretPositionChanged(InputMethodEvent event)
          This method is called when the cursor position within the text is changed.
 void inputMethodTextChanged(InputMethodEvent event)
          This method is called when the text is changed.
 

Method Detail

inputMethodTextChanged

void inputMethodTextChanged(InputMethodEvent event)
This method is called when the text is changed.

Parameters:
event - the InputMethodEvent indicating the text change

caretPositionChanged

void caretPositionChanged(InputMethodEvent event)
This method is called when the cursor position within the text is changed.

Parameters:
event - the InputMethodEvent indicating the change

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.