summaryrefslogtreecommitdiff
path: root/libjava/javax
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-01 22:26:29 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-01 22:26:29 +0000
commitaf662a258306e9ffd9e9797292852597a1804c90 (patch)
treea616d25620edb458d4fe72e0f3903c7856a604a1 /libjava/javax
parentdcdbf29f651e820d0627209db16adb356e732d92 (diff)
downloadgcc-af662a258306e9ffd9e9797292852597a1804c90.tar.gz
* javax/accessibility/AccessibleEditableText.java,
javax/accessibility/AccessibleHyperlink.java: New versions from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/javax')
-rw-r--r--libjava/javax/accessibility/AccessibleEditableText.java4
-rw-r--r--libjava/javax/accessibility/AccessibleHyperlink.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/libjava/javax/accessibility/AccessibleEditableText.java b/libjava/javax/accessibility/AccessibleEditableText.java
index 3387a7c56f4..e1ffb617a2f 100644
--- a/libjava/javax/accessibility/AccessibleEditableText.java
+++ b/libjava/javax/accessibility/AccessibleEditableText.java
@@ -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.
diff --git a/libjava/javax/accessibility/AccessibleHyperlink.java b/libjava/javax/accessibility/AccessibleHyperlink.java
index 716dd1dd0f5..0503f2a14ef 100644
--- a/libjava/javax/accessibility/AccessibleHyperlink.java
+++ b/libjava/javax/accessibility/AccessibleHyperlink.java
@@ -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