You are viewing information archived from Mozilla.org on 2015-08-05.

interface nsIAccessibleEditableText

The nsIAccessible interface provided by MAI which the user can activate/interact with to set font styles, such as italic, bold



Public Methods



[more] boolean setTextContents (in AString text)
set the text content to an editable text object
[more] void insertText (in AString text, in long length, inout long position)
insert a segment of text into an editable text
[more] void copyText (in long startPos, in long endPos)
copy a segment of text
[more] void cutText (in long startPos, in long endPos)
cut a segment of text
[more] void deleteText (in long startPos, in long endPos)
delete a segment of text
[more] void pasteText (in long position)
paste a segment of text


Documentation

The nsIAccessible interface provided by MAI which the user can activate/interact with to set font styles, such as italic, bold
o boolean setTextContents(in AString text)
set the text content to an editable text object


Parameters:
text - input the text contents in AString style

Returns:
a boolean type result representing if the contents was successfully set



o void insertText(in AString text, in long length, inout long position)
insert a segment of text into an editable text


Parameters:
text - the contents in AString style that should be inserted
length - the length of the text contents inserted
position - a long style param that indicate the start position of the inserted text





o void copyText(in long startPos, in long endPos)
copy a segment of text


Parameters:
startPos - a long style input parameter that indicate the start position of the text
endPos - a long style input parameter that indicate the end position of the text




o void cutText(in long startPos, in long endPos)
cut a segment of text


Parameters:
startPos - a long style input parameter that indicate the start position of the text segment
endPos - a long style input parameter that indicate the end position of the text segment




o void deleteText(in long startPos, in long endPos)
delete a segment of text


Parameters:
startPos - a long style input parameter that indicate the start position of the text segment
endPos - a long style input parameter that indicate the end position of the text segment




o void pasteText(in long position)
paste a segment of text


Parameters:
position - a long style input parameter that indicate the start position of the text should be paste to




This class has no child classes.




Alphabetic index



This page was generated with the help of DOC++ .