%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/orca/__pycache__/structural_navigation.cpython-312.pyc |
� g f�F � �n � d Z dZdZdZdZdZddlZ ej dd � dd lm Z ddl mZ dd l mZ ddl m Z ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z ddl!m"Z" ddl#m$Z$ ddl%m&Z& G d � d!� Z' G d"� d#� Z(y)$z!Implements structural navigation.z$Id$z $Revision$z$Date$zRCopyright (c) 2005-2009 Sun Microsystems Inc.Copyright (c) 2010-2013 The Orca Team�LGPL� N�Atspiz2.0)r � )�cmdnames)�debug)� focus_manager)� guilabels)�input_event)�keybindings)�messages)�object_properties)�orca_gui_navlist)� orca_state)�settings)�settings_manager)�AXCollection)�AXEventSynthesizer)�AXHypertext)�AXObject)�AXSelection)�AXTable)�AXText)�AXUtilitiesc �F � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zd � Zy)�StructuralNavigationObjectat Represents a document object which has identifiable characteristics which can be used for the purpose of navigation to and among instances of that object. These characteristics may be something as simple as a role and/or a state of interest. Or they may be something more complex such as character counts, text attributes, and other object attributes. c �� � || _ || _ || _ || _ || _ || _ || _ || _ i | _ t j � | _ g | _ | j � y)ap Creates a new structural navigation object. Arguments: - structuralNavigation: the StructuralNavigation class associated with this object. - objType: the type (e.g. BLOCKQUOTE) associated with this object. - bindings: a dictionary of all of the possible bindings for this object. In the case of all but the "atLevel" bindings, each binding takes the form of [keysymstring, modifiers, description]. The goPreviousAtLevel and goNextAtLevel bindings are each a list of bindings in that form. - predicate: the method to use to verify if a given accessible matches this structural navigation object. Used only when the collection interface does not provide a way for us to specify needed condition(s). - criteria: a method which returns a MatchRule object which is used to find all matching objects via AtspiCollection. - presentation: the method which should be called after performing the search for the structural navigation object. - dialogData: the method which returns the title, column headers, and row data which should be included in the "list of" dialog for the structural navigation object. - getter: The function which should be used instead of the criteria and predicate. N)�structuralNavigation�objType�bindings� predicate�criteria�present�_dialogData�getter�inputEventHandlersr �KeyBindings�keyBindings� functions�_setUpHandlersAndBindings) �selfr r r r r! �presentation� dialogDatar$ s �</usr/lib/python3/dist-packages/orca/structural_navigation.py�__init__z#StructuralNavigationObject.__init__D sj � �8 %9��!���� �� �"��� �� �#���%������"$���&�2�2�4�������&�&�(� c �� � | j j d� }|r�|\ }}}| j � d�}t j | j |� | j |<