Commit 1a8fc8a7 by Tom Tromey Committed by Tom Tromey

AccessibleEditableText.java, [...]: New versions from Classpath.

	* javax/accessibility/AccessibleEditableText.java,
	javax/accessibility/AccessibleHyperlink.java: New versions from
	Classpath.

From-SVN: r63629
parent d3c582c3
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,
......
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment