Package AccessEngine :: Module AEAccAdapter :: Class PORAdapter
[hide private]
[frames] | no frames]

Class PORAdapter

source code

  object --+    
           |    
AEAccAdapter --+
               |
              PORAdapter

Convenience base class for AEAccAdapters for AEPors.

Provides direct access to AEPor data through instance variables.

Instance Methods [hide private]
 
__init__(self, subject=None)
Override storing of subject AEPor in adapter to also store its accessible and item offset in instance variables for convenince.
source code
object
__call__(self, subject)
Override storing of subject AEPor in adapter to also store its accessible and item offset in instance variables for convenince.
source code

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

Class Variables [hide private]

Inherited from AEAccAdapter: provides, singleton, when

Instance Variables [hide private]
pyatspi.Accessible accessible
Reference to the accessible in the AEPor
integer char_offset
Reference to the character offset in the AEPor
integer item_offset
Reference to the item offset in the AEPor
object subject
Object being adapted
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, subject=None)
(Constructor)

source code 
Override storing of subject AEPor in adapter to also store its accessible and item offset in instance variables for convenince.
Parameters:
  • subject (AEPor) - Point of regard adapted by this object
Overrides: AEAccAdapter.__init__

__call__(self, subject)
(Call operator)

source code 
Override storing of subject AEPor in adapter to also store its accessible and item offset in instance variables for convenince.
Parameters:
  • subject (AEPor) - Point of regard adapted by this object
Returns: object
Reference to this instance
Overrides: AEAccAdapter.__call__