diff options
author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-15 23:20:01 +0000 |
---|---|---|
committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-15 23:20:01 +0000 |
commit | 3b3101d8b5ae4f08a16c0b7111da6cad41bbd282 (patch) | |
tree | a5eb7cf42a51869cc8aa1fad7ad6a90cca47fdd8 /libjava/classpath/java/awt/im/spi | |
parent | 7e55c49d7d91ef9f09e93c1100119b1ab3652446 (diff) | |
download | ppe42-gcc-3b3101d8b5ae4f08a16c0b7111da6cad41bbd282.tar.gz ppe42-gcc-3b3101d8b5ae4f08a16c0b7111da6cad41bbd282.zip |
Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/awt/im/spi')
3 files changed, 12 insertions, 5 deletions
diff --git a/libjava/classpath/java/awt/im/spi/InputMethod.java b/libjava/classpath/java/awt/im/spi/InputMethod.java index 840d193a8d8..ebe4508418e 100644 --- a/libjava/classpath/java/awt/im/spi/InputMethod.java +++ b/libjava/classpath/java/awt/im/spi/InputMethod.java @@ -38,7 +38,11 @@ exception statement from your version. */ package java.awt.im.spi; import java.awt.AWTEvent; +import java.awt.Component; import java.awt.Rectangle; +import java.awt.im.InputContext; +import java.awt.im.InputMethodRequests; +import java.text.AttributedCharacterIterator.Attribute; import java.util.Locale; /** @@ -152,8 +156,8 @@ public interface InputMethod * Notify this input method of changes in the client window. This is called * when notifications are enabled (see {@link * InputMethodContext#enableClientWindowNotification(InputMethod, boolean)}, - * if {@link #removeNotify(Component)} has not been called. The following - * situations trigger a notification:<ul> + * if {@link InputContext#removeNotify(Component)} has not been called. + * The following situations trigger a notification:<ul> * <li>The client window changes in location, size, visibility, * iconification, or is closed.</li> * <li>When enabling client notification (or on the first activation after @@ -202,7 +206,7 @@ public interface InputMethod /** * Notify the input method that a client component has been removed from its * hierarchy, or that input method support has been disabled. This is - * called by {@link InputContext#removeNotify()}, and only when the input + * called by {@link InputContext#removeNotify(Component)}, and only when the input * method is inactive. */ void removeNotify(); diff --git a/libjava/classpath/java/awt/im/spi/InputMethodContext.java b/libjava/classpath/java/awt/im/spi/InputMethodContext.java index 43bee8d8617..17ec4f8f7ee 100644 --- a/libjava/classpath/java/awt/im/spi/InputMethodContext.java +++ b/libjava/classpath/java/awt/im/spi/InputMethodContext.java @@ -38,6 +38,8 @@ exception statement from your version. */ package java.awt.im.spi; +import java.awt.HeadlessException; +import java.awt.Rectangle; import java.awt.Window; import java.awt.font.TextHitInfo; import java.awt.im.InputMethodRequests; @@ -113,7 +115,7 @@ public interface InputMethodContext extends InputMethodRequests /** * Sets whether notification of the client window's location and state should * be enabled for the input method. When enabled, the input method's - * {@link #notifyClientWindowChange(Rectangle)} method is called. + * {@link InputMethod#notifyClientWindowChange(Rectangle)} method is called. * Notification is automatically disabled when the input method is disposed. * * @param inputMethod the method to change status of diff --git a/libjava/classpath/java/awt/im/spi/InputMethodDescriptor.java b/libjava/classpath/java/awt/im/spi/InputMethodDescriptor.java index 093d7319217..d234e5c57f3 100644 --- a/libjava/classpath/java/awt/im/spi/InputMethodDescriptor.java +++ b/libjava/classpath/java/awt/im/spi/InputMethodDescriptor.java @@ -39,6 +39,7 @@ package java.awt.im.spi; import java.awt.AWTException; import java.awt.Image; +import java.awt.im.InputContext; import java.util.Locale; /** @@ -57,7 +58,7 @@ public interface InputMethodDescriptor * also by country and variant), via * {@link InputContext#selectInputMethod(Locale)}. The returned list should * ignore pass-through locales, so it is usually a subset of locales for - * which {@link InputMethod#setContext(Locale)} returns true. If + * which {@link InputMethod#setLocale(Locale)} returns true. If * {@link #hasDynamicLocaleList()} returns true, this is called each time * information is needed, allowing dynamic addition or removal of supported * locales. |