AccessibleEditableText.java, [...]: New versions from Classpath.
authorTom Tromey <tromey@redhat.com>
Sat, 1 Mar 2003 22:26:29 +0000 (22:26 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 1 Mar 2003 22:26:29 +0000 (22:26 +0000)
* javax/accessibility/AccessibleEditableText.java,
javax/accessibility/AccessibleHyperlink.java: New versions from
Classpath.

From-SVN: r63629

libjava/ChangeLog
libjava/javax/accessibility/AccessibleEditableText.java
libjava/javax/accessibility/AccessibleHyperlink.java

index 36b57e98068f3d319d39f16783de543f8a63138e..18fbfc7ee48b376b394d23f9888fc2f705bb2342 100644 (file)
@@ -1,5 +1,9 @@
 2003-03-01  Tom Tromey  <tromey@redhat.com>
 
+       * javax/accessibility/AccessibleEditableText.java,
+       javax/accessibility/AccessibleHyperlink.java: New versions from
+       Classpath.
+
        * gnu/java/locale/LocaleInformation_af_ZA.java,
        gnu/java/locale/LocaleInformation_ar_AE.java,
        gnu/java/locale/LocaleInformation_ar_BH.java,
index 3387a7c56f4b49da3e525eb5e0c0a5b2d180ed56..e1ffb617a2ffd84e6883bff0a45ddbb48a2ac192 100644 (file)
@@ -92,7 +92,7 @@ public interface AccessibleEditableText extends AccessibleText
    * @param end the end position, exclusive
    */
   // XXX What happens if indices are out of bounds?
-  String delete(int start, int end);
+  void delete(int start, int end);
 
   /**
    * Cut the text between two points to the system clipboard.
@@ -101,7 +101,7 @@ public interface AccessibleEditableText extends AccessibleText
    * @param end the end position, exclusive
    */
   // XXX What happens if indices are out of bounds?
-  String cut(int start, int end);
+  void cut(int start, int end);
 
   /**
    * Paste the text from the system clipboard at the given index.
index 716dd1dd0f52f7d98597eea4af33c61a5b03dc41..0503f2a14efdf30601f875b5b0dfbc91ad9125cd 100644 (file)
@@ -106,7 +106,7 @@ public abstract class AccessibleHyperlink implements AccessibleAction
    * @return the link location
    * @see #getAccessibleActionCount()
    */
-  public abstract String getAccessibleActionObject(int i);
+  public abstract Object getAccessibleActionObject(int i);
 
   /**
    * Get the anchor appropriate for the link, or null if the index is out of
@@ -119,7 +119,7 @@ public abstract class AccessibleHyperlink implements AccessibleAction
    * @return the link anchor object
    * @see #getAccessibleActionCount()
    */
-  public abstract String getAccessibleActionAnchor(int i);
+  public abstract Object getAccessibleActionAnchor(int i);
 
   /**
    * Gets the character index where this link starts in the parent hypertext