38 |
package java.awt.im.spi; |
package java.awt.im.spi; |
39 |
|
|
40 |
import java.awt.AWTEvent; |
import java.awt.AWTEvent; |
41 |
|
import java.awt.Component; |
42 |
import java.awt.Rectangle; |
import java.awt.Rectangle; |
43 |
|
import java.awt.im.InputContext; |
44 |
|
import java.awt.im.InputMethodRequests; |
45 |
|
import java.text.AttributedCharacterIterator.Attribute; |
46 |
import java.util.Locale; |
import java.util.Locale; |
47 |
|
|
48 |
/** |
/** |
156 |
* Notify this input method of changes in the client window. This is called |
* Notify this input method of changes in the client window. This is called |
157 |
* when notifications are enabled (see {@link |
* when notifications are enabled (see {@link |
158 |
* InputMethodContext#enableClientWindowNotification(InputMethod, boolean)}, |
* InputMethodContext#enableClientWindowNotification(InputMethod, boolean)}, |
159 |
* if {@link #removeNotify(Component)} has not been called. The following |
* if {@link InputContext#removeNotify(Component)} has not been called. |
160 |
* situations trigger a notification:<ul> |
* The following situations trigger a notification:<ul> |
161 |
* <li>The client window changes in location, size, visibility, |
* <li>The client window changes in location, size, visibility, |
162 |
* iconification, or is closed.</li> |
* iconification, or is closed.</li> |
163 |
* <li>When enabling client notification (or on the first activation after |
* <li>When enabling client notification (or on the first activation after |
206 |
/** |
/** |
207 |
* Notify the input method that a client component has been removed from its |
* Notify the input method that a client component has been removed from its |
208 |
* hierarchy, or that input method support has been disabled. This is |
* hierarchy, or that input method support has been disabled. This is |
209 |
* called by {@link InputContext#removeNotify()}, and only when the input |
* called by {@link InputContext#removeNotify(Component)}, and only when the input |
210 |
* method is inactive. |
* method is inactive. |
211 |
*/ |
*/ |
212 |
void removeNotify(); |
void removeNotify(); |