40 |
|
|
41 |
import java.awt.Rectangle; |
import java.awt.Rectangle; |
42 |
import java.awt.Point; |
import java.awt.Point; |
43 |
// XXX Waiting on javax.swing support. |
import javax.swing.text.AttributeSet; |
|
// import javax.swing.text.AttributeSet; |
|
44 |
|
|
45 |
/** |
/** |
46 |
* Objects which present textual information on the display should implement |
* Objects which present textual information on the display should implement |
56 |
* @see AccessibleContext |
* @see AccessibleContext |
57 |
* @see AccessibleContext#getAccessibleText() |
* @see AccessibleContext#getAccessibleText() |
58 |
* @since 1.2 |
* @since 1.2 |
59 |
* @status updated to 1.4, except for javax.swing support |
* @status updated to 1.4 |
60 |
*/ |
*/ |
61 |
public interface AccessibleText |
public interface AccessibleText |
62 |
{ |
{ |
157 |
* @param index the 0-based character index |
* @param index the 0-based character index |
158 |
* @return the character's attributes |
* @return the character's attributes |
159 |
*/ |
*/ |
160 |
// XXX Waiting on javax.swing support. |
AttributeSet getCharacterAttribute(int index); |
|
// AttributeSet getCharacterAttribute(int index); |
|
161 |
|
|
162 |
/** |
/** |
163 |
* Returns the start index of the selection. If there is no selection, this |
* Returns the start index of the selection. If there is no selection, this |