Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -49,6 +49,7 @@ import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.URL;
|
||||
import java.text.AttributedCharacterIterator.Attribute;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Enumeration;
|
||||
import java.util.HashMap;
|
||||
@@ -334,7 +335,7 @@ public class InputContext
|
||||
|
||||
/**
|
||||
* Starts a reconversion operation in the current input method. The input
|
||||
* method gets theh text to reconvert from the client component, using
|
||||
* method gets the text to reconvert from the client component, using
|
||||
* {@link InputMethodRequests#getSelectedText(Attribute[])}. Then the
|
||||
* composed and committed text produced by the operation is sent back to
|
||||
* the client using a sequence of InputMethodRequests.
|
||||
|
||||
@@ -37,6 +37,9 @@ exception statement from your version. */
|
||||
|
||||
package java.awt.im;
|
||||
|
||||
import java.awt.Toolkit;
|
||||
import java.text.Annotation;
|
||||
import java.text.AttributedCharacterIterator;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
@@ -53,7 +56,7 @@ import java.util.Map;
|
||||
* text segments.
|
||||
*
|
||||
* @author Eric Blake (ebb9@email.byu.edu)
|
||||
* @see AttributedCharacterIterators
|
||||
* @see AttributedCharacterIterator
|
||||
* @see Annotation
|
||||
* @since 1.2
|
||||
* @status updated to 1.4
|
||||
|
||||
@@ -37,8 +37,10 @@ exception statement from your version. */
|
||||
|
||||
package java.awt.im;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.font.TextHitInfo;
|
||||
import java.awt.event.InputMethodListener;
|
||||
import java.text.AttributedCharacterIterator;
|
||||
import java.text.AttributedCharacterIterator.Attribute;
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user