Package Adapters :: Package ATSPI :: Module TextAdapter
[hide private]
[frames] | no frames]

Module TextAdapter

source code

Defines AccAdapt.Adapters for AT-SPI accessibles implementing the Text interface.


Authors:
Pete Brunet, Peter Parente, Brett Clippingdale, Scott Haeger

Organization: IBM Corporation

Copyright: Copyright (c) 2005, 2007 IBM Corporation

License: The BSD License

All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php

Classes [hide private]
  TextAccInfoAdapter
Overrides DefaultAccInfoAdapter to provide information about lines of text as items.
  TextNavAdapter
Overrides DefaultNavAdapter to provide navigation over text lines as items and to avoid traversing text children as separate accessible children in the IAccessibleNav interface.
  SimpleTextEventHandlerAdapter
Overrides DefaultEventHandlerAdapter to fire AEEvent.CaretChange events for caret and text events.
  TextEventHandlerAdapter
Overrides SimpleTextEventHandlerAdapter to fire AEEvent.CaretChange events on focus changes for text controls.
Functions [hide private]
 
_multiLineCondition(acc)
Tests whether an accessible should be treated as a multiline text area or a simple one line text control.
source code
Variables [hide private]
  FUDGE_PX = 3
Function Details [hide private]

_multiLineCondition(acc)

source code 

Tests whether an accessible should be treated as a multiline text area or a simple one line text control.

Parameters:
  • acc (pyLinAcc.Accessible) - Accessible to test