AccessibleEditableText.java, [...]: New versions from Classpath.
* javax/accessibility/AccessibleEditableText.java, javax/accessibility/AccessibleHyperlink.java: New versions from Classpath. From-SVN: r63629
This commit is contained in:
parent
d3c582c300
commit
1a8fc8a76c
3 changed files with 8 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue