You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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++ .