|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAccessibleEditableTextElement
Interface for exposing accessibility-related properties of images to the validation engine.
IAccessibleElement2
Method Summary | |
---|---|
void |
copyText(int startIndex,
int endIndex)
Copies the text range into the clipboard. |
void |
cutText(int startIndex,
int endIndex)
Deletes a range of text and copies it to the clipboard. |
void |
deleteText(int startIndex,
int endIndex)
Deletes the text between two indices |
void |
insertText(int index,
String s)
Inserts the specified string at the given index/ |
void |
pasteText(int startIndex)
Pastes the text from the system clipboard into the text starting at the specified index. |
void |
replaceText(int startIndex,
int endIndex,
String s)
Replaces the text between two indices with the specified string. |
void |
setAttributes(int startIndex,
int endIndex,
String[] as)
Sets attributes for the text between two indices. |
Method Detail |
---|
void copyText(int startIndex, int endIndex) throws InvalidComponentException
startIndex
- the starting index in the textendIndex
- the ending index in the text
InvalidComponentException
void deleteText(int startIndex, int endIndex) throws InvalidComponentException
startIndex
- the starting index in the textendIndex
- the ending index in the text
InvalidComponentException
void insertText(int index, String s) throws InvalidComponentException
index
- the index in the text where the string will
be inserteds
- the string to insert in the text
InvalidComponentException
void cutText(int startIndex, int endIndex) throws InvalidComponentException
startIndex
- the starting index in the textendIndex
- the ending index in the text
InvalidComponentException
void pasteText(int startIndex) throws InvalidComponentException
startIndex
- the starting index in the text
InvalidComponentException
void replaceText(int startIndex, int endIndex, String s) throws InvalidComponentException
startIndex
- the starting index in the textendIndex
- the ending index in the texts
- the string to replace the text between two indices
InvalidComponentException
void setAttributes(int startIndex, int endIndex, String[] as) throws InvalidComponentException
startIndex
- the starting index in the textendIndex
- the ending index in the textas
- -atrributes in a String array
InvalidComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |