
    1fO                     @    d dl mZ d dl d dl dgZ G d de      Zy)    )Atspi)*	TableCellc                       e Zd ZdZd ZdZ eee      Zd ZdZ	 eee	      Z
d ZdZ eee      Zd	 Zd
Z eee      Zd ZdZ eee      Zd Zd ZdZ eee      Zy)r   z8
        An interface used by cells in a table.
        c                 T    t         j                  j                  | j                        S N)r   r   get_column_spanobjselfs    3/usr/lib/python3/dist-packages/pyatspi/tablecell.pyget_columnSpanzTableCell.get_columnSpan   s    66txx@@    zR
                Get the number of columns occupied by this cell.
                )fgetdocc                 T    t         j                  j                  | j                        S r   )r   r   get_column_header_cellsr
   r   s    r   get_columnHeaderCellszTableCell.get_columnHeaderCells&   s    >>txxHHr   zY
                Get the column headers as an array of cell accessibles.
                c                 T    t         j                  j                  | j                        S r   )r   r   get_row_spanr
   r   s    r   get_rowSpanzTableCell.get_rowSpan.       33DHH==r   zO
                Get the number of rows occupied by this cell.
                c                 T    t         j                  j                  | j                        S r   )r   r   get_row_header_cellsr
   r   s    r   get_rowHeaderCellszTableCell.get_rowHeaderCells6   s    ;;DHHEEr   zV
                Get the row headers as an array of cell accessibles.
                c                 T    t         j                  j                  | j                        S r   )r   r   get_positionr
   r   s    r   r   zTableCell.get_position>   r   r   zR
                Returns the tabular position of this accessible.
                c                 T    t         j                  j                  | j                        S )zb
                determine the row and column indices and span of the given cell.
                )r   r   get_row_column_spanr
   r   s    r   getRowColumnSpanzTableCell.getRowColumnSpanF   s     ::488DDr   c                 T    t         j                  j                  | j                        S r   )r   r   	get_tabler
   r   s    r   r"   zTableCell.get_tableL   s    00::r   z`
                Returns a reference to the accessible of the containing table.
                N)__name__
__module____qualname____doc__r   _columnSpanDocproperty
columnSpanr   _columnHeaderCellsDoccolumnHeaderCellsr   _rowSpanDocrowSpanr   _rowHeaderCellsDocrowHeaderCellsr   _positionDocpositionr    r"   	_tableDoctable r   r   r   r      s    		A 	 >~F
	I 	 %*?EZ[	> 	 =	F 	 "'9?QR	> 	 <@	E	; 	 iY7r   N)gi.repositoryr   pyatspi.utilspyatspi.interface__all__	interfacer   r4   r   r   <module>r:      s(        98	 98r   