|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputMethodListener
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.
InputMethodEvent
,
InputMethodRequests
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 |
---|
void inputMethodTextChanged(InputMethodEvent event)
event
- the InputMethodEvent
indicating the text changevoid caretPositionChanged(InputMethodEvent event)
event
- the InputMethodEvent
indicating the change
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |