|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.accservice.javapp.JavaAccessibleEditableText
public class JavaAccessibleEditableText
implementation of the IAccessibleEditableTextElement
object for the Java Accesibility API's AccessibleIcon
.
AccessibleIcon
Constructor Summary | |
---|---|
JavaAccessibleEditableText(AccessibleEditableText text)
Constructor used to create an accessible image object. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaAccessibleEditableText(AccessibleEditableText text)
JavaAccessible
and is not typically called by clients.
image
- -
AccessibleIcon objectMethod Detail |
---|
public void copyText(int startIndex, int endIndex) throws InvalidComponentException
IAccessibleEditableTextElement
copyText
in interface IAccessibleEditableTextElement
startIndex
- the starting index in the textendIndex
- the ending index in the text
InvalidComponentException
public void cutText(int startIndex, int endIndex) throws InvalidComponentException
IAccessibleEditableTextElement
cutText
in interface IAccessibleEditableTextElement
startIndex
- the starting index in the textendIndex
- the ending index in the text
InvalidComponentException
public void deleteText(int startIndex, int endIndex) throws InvalidComponentException
IAccessibleEditableTextElement
deleteText
in interface IAccessibleEditableTextElement
startIndex
- the starting index in the textendIndex
- the ending index in the text
InvalidComponentException
public void insertText(int index, String s) throws InvalidComponentException
IAccessibleEditableTextElement
insertText
in interface IAccessibleEditableTextElement
index
- the index in the text where the string will
be inserteds
- the string to insert in the text
InvalidComponentException
public void pasteText(int startIndex) throws InvalidComponentException
IAccessibleEditableTextElement
pasteText
in interface IAccessibleEditableTextElement
startIndex
- the starting index in the text
InvalidComponentException
public void replaceText(int startIndex, int endIndex, String s) throws InvalidComponentException
IAccessibleEditableTextElement
replaceText
in interface IAccessibleEditableTextElement
startIndex
- the starting index in the textendIndex
- the ending index in the texts
- the string to replace the text between two indices
InvalidComponentException
public void setAttributes(int startIndex, int endIndex, String[] as) throws InvalidComponentException
IAccessibleEditableTextElement
setAttributes
in interface IAccessibleEditableTextElement
startIndex
- the starting index in the textendIndex
- the ending index in the textas
- -atrributes in a String array
InvalidComponentException
AttributeSet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |