src/share/classes/java/awt/event/InputMethodListener.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 38,56 ****
* @author JavaSoft Asia/Pacific
* @see InputMethodEvent
* @see java.awt.im.InputMethodRequests
* @since 1.2
*/
-
public interface InputMethodListener extends EventListener {
/**
* Invoked when the text entered through an input method has changed.
*/
void inputMethodTextChanged(InputMethodEvent event);
/**
* Invoked when the caret within composed text has changed.
*/
void caretPositionChanged(InputMethodEvent event);
-
}
--- 38,56 ----
* @author JavaSoft Asia/Pacific
* @see InputMethodEvent
* @see java.awt.im.InputMethodRequests
* @since 1.2
*/
public interface InputMethodListener extends EventListener {
/**
* Invoked when the text entered through an input method has changed.
+ * @param event the event to be processed
*/
void inputMethodTextChanged(InputMethodEvent event);
/**
* Invoked when the caret within composed text has changed.
+ * @param event the event to be processed
*/
void caretPositionChanged(InputMethodEvent event);
}