Package NVDAObjects :: Package window :: Class DisplayModelLiveText
[hide private]
[frames] | no frames]

Class DisplayModelLiveText

source code

                   object --+                
                            |                
baseObject.AutoPropertyObject --+            
                                |            
      baseObject.ScriptableObject --+        
                                    |        
                           NVDAObject --+    
                                        |    
                       behaviors.LiveText --+
                                            |
                   object --+               |
                            |               |
baseObject.AutoPropertyObject --+           |
                                |           |
      baseObject.ScriptableObject --+       |
                                    |       |
                           NVDAObject --+   |
                                        |   |
                                   Window --+
                                            |
                                           DisplayModelLiveText

Nested Classes [hide private]
  TextInfo
A default TextInfo which is used to enable text review of information about widgets that don't support text content.

Inherited from NVDAObject: __metaclass__

Instance Methods [hide private]
 
startMonitoring(self)
Start monitoring for new text.
source code
 
stopMonitoring(self)
Stop monitoring previously started with startMonitoring.
source code
list of str
_getTextLines(self)
Retrieve the text of this object in lines.
source code

Inherited from behaviors.LiveText: event_textChange, initOverlayClass

Inherited from Window: __init__, correctAPIForRelation, findOverlayClasses, redraw

Inherited from NVDAObject: __eq__, __ne__, doAction, event_becomeNavigatorObject, event_caret, event_descriptionChange, event_focusEntered, event_foreground, event_gainFocus, event_mouseMove, event_nameChange, event_stateChange, event_typedCharacter, event_valueChange, getActionName, makeTextInfo, reportFocus, scrollIntoView, setFocus

Inherited from baseObject.ScriptableObject: bindGesture, bindGestures, clearGestureBindings, getScript

Inherited from baseObject.AutoPropertyObject: invalidateCache

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from Window: getPossibleAPIClasses, kwargsFromSuper, normalizeWindowClassName

Inherited from NVDAObject: findBestAPIClass

Inherited from baseObject.AutoPropertyObject: invalidateCaches

Static Methods [hide private]

Inherited from NVDAObject: objectFromPoint, objectInForeground, objectWithFocus

Class Variables [hide private]

Inherited from behaviors.LiveText: STABILIZE_DELAY, presentationType

Inherited from Window: normalizedWindowClassNameCache

Inherited from NVDAObject: beTransparentToMouse, cachePropertiesByDefault, presType_content, presType_layout, presType_unavailable, tableCellCoordsInName

Instance Variables [hide private]

Inherited from Window: windowClassName, windowControlID, windowHandle, windowProcessID, windowText

Inherited from NVDAObject: textRepresentationLineLength

Inherited from NVDAObject (private): _mouseEntered

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

startMonitoring(self)

source code 

Start monitoring for new text. New text will be reported when it is detected.

Overrides: behaviors.LiveText.startMonitoring
(inherited documentation)

stopMonitoring(self)

source code 

Stop monitoring previously started with startMonitoring.

Overrides: behaviors.LiveText.stopMonitoring
(inherited documentation)

_getTextLines(self)

source code 

Retrieve the text of this object in lines. This will be used to determine the new text to speak. The base implementation uses the TextInfo. However, subclasses should override this if there is a better way to retrieve the text.

Returns: list of str
The current lines of text.
Overrides: behaviors.LiveText._getTextLines
(inherited documentation)