interface nsIAccessibleEditableText
The nsIAccessible interface provided by MAI which the user can activate/interact with to set font styles, such as italic, bold
- boolean setTextContents (in AString text)
- set the text content to an editable text object
- void insertText (in AString text, in long length, inout long position)
- insert a segment of text into an editable text
- void copyText (in long startPos, in long endPos)
- copy a segment of text
- void cutText (in long startPos, in long endPos)
- cut a segment of text
- void deleteText (in long startPos, in long endPos)
- delete a segment of text
- void pasteText (in long position)
- paste a segment of text
Public Methods
Documentation
The nsIAccessible interface provided by MAI which the user can activate/interact with to set font styles, such as italic, bold
- 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
- 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
- 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
- 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
- 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
- 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.
This page was generated with the help of DOC++ .