3
WYO                 @   s6   d dl mZ d dlT d dlT dgZG dd deZdS )    )Atspi)*	TableCellc               @   s   e Zd ZdZdd ZdZeeedZdd ZdZ	eee	dZ
d	d
 ZdZeeedZdd ZdZeeedZdd ZdZeeedZdd Zdd ZdZeeedZdS )r   z8
        An interface used by cells in a table.
        c             C   s   t jj| jS )N)r   r   Zget_column_spanobj)self r   3/usr/lib/python3/dist-packages/pyatspi/tablecell.pyget_columnSpan   s    zTableCell.get_columnSpanzR
                Get the number of columns occupied by this cell.
                )fgetdocc             C   s   t jj| jS )N)r   r   Zget_column_header_cellsr   )r   r   r   r   get_columnHeaderCells&   s    zTableCell.get_columnHeaderCellszY
                Get the column headers as an array of cell accessibles.
                c             C   s   t jj| jS )N)r   r   Zget_row_spanr   )r   r   r   r   get_rowSpan.   s    zTableCell.get_rowSpanzO
                Get the number of rows occupied by this cell.
                c             C   s   t jj| jS )N)r   r   Zget_row_header_cellsr   )r   r   r   r   get_rowHeaderCells6   s    zTableCell.get_rowHeaderCellszV
                Get the row headers as an array of cell accessibles.
                c             C   s   t jj| jS )N)r   r   get_positionr   )r   r   r   r   r   >   s    zTableCell.get_positionzR
                Returns the tabular position of this accessible.
                c             C   s   t jj| jS )zb
                determine the row and column indices and span of the given cell.
                )r   r   Zget_row_column_spanr   )r   r   r   r   getRowColumnSpanF   s    zTableCell.getRowColumnSpanc             C   s   t jj| jS )N)r   r   	get_tabler   )r   r   r   r   r   L   s    zTableCell.get_tablez`
                Returns a reference to the accessible of the containing table.
                N)__name__
__module____qualname____doc__r	   Z_columnSpanDocpropertyZ
columnSpanr   Z_columnHeaderCellsDocZcolumnHeaderCellsr   Z_rowSpanDocZrowSpanr   Z_rowHeaderCellsDocZrowHeaderCellsr   Z_positionDocZpositionr   r   Z	_tableDoctabler   r   r   r   r      s(   N)Zgi.repositoryr   Zpyatspi.utilsZpyatspi.interface__all__Z	interfacer   r   r   r   r   <module>   s   