Accessibility/Comparisons:AT SPI To UA: Difference between revisions

add Table and Value interfaces
No edit summary
 
(add Table and Value interfaces)
 
Line 59: Line 59:
<tr>
<tr>
<td>Accessible getDocumentObject ()</td>
<td>Accessible getDocumentObject ()</td>
<td>-</td>
</tr>
</table>
== Accessibility::Value ==
The properties of this interface can be mapped to the [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html#//apple_ref/doc/uid/TP40004155 AXMaxValueAttribute], [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html#//apple_ref/doc/uid/TP40004155 AXMinValueAttribute] and of course [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html#//apple_ref/doc/uid/TP40004155 AXValueAttribute].
== Accessibility::Table ==
<table border="1"><tr><th>AT-SPI</th><th>UA</th></tr>
<tr>
<td>Accessible getAccessibleAt (in long row, in long column)</td>
<td>-</td>
</tr>
<tr>
<td>long getIndexAt (in long index)</td>
<td>-d</td>
</tr>
<tr>
<td>long getRowAtIndex (in long index)</td>
<td>-</td>
</tr>
<tr>
<td>long getColumnAtIndex (in long index)</td>
<td>-</td>
</tr>
<tr>
<td>string getRowDescription (in long row)</td>
<td>see getRowHeader() below, and then the same as getting a role's description on an Accessible.</td>
</tr>
<tr>
<td>string getColumnDescription (in long column)</td>
<td>see getColumnHeader() below, and the same as getting a role's description on a normal Accessible.</td>
</tr>
<tr>
<td>LongSeq getSelectedRows ()</td>
<td>Get the [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html#//apple_ref/doc/uid/TP40004155 AXSelectedRowsAttribute]'s value.</td>
</tr>
<tr>
<td>LongSeq getSelectedColumns ()</td>
<td>Get the [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html#//apple_ref/doc/uid/TP40004155 AXSelectedColumnsAttribute]'s value.</td>
</tr>
<tr>
<td>boolean isRowSelected (in long index)</td>
<td>Check the [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html#//apple_ref/doc/uid/TP40004155 AXSelectedAttribute]'s value on the row.</td>
</tr>
<tr>
<td>boolean isColumnSelected (in long index)</td>
<td>Same as above? (Unclear if columns can be "selected" on Mac.)</td>
</tr>
<tr>
<td>boolean isSelected (in long row, in long column)</td>
<td>-</td>
</tr>
<tr>
<td>boolean addRowSelection (in long index)</td>
<td>Set the AXSelectedAttribute on the new row?</td>
</tr>
<tr>
<td>boolean addColumnSelection (in long index)</td>
<td>-</td>
</tr>
<tr>
<td>boolean removeRowSelection (in long index)</td>
<td>See addRowSelection() above.</td>
</tr>
<tr>
<td>boolean removeColumnSelection (in long index)</td>
<td>-</td>
</tr>
<tr>
<td>boolean getRowColumnExtentsAt (in long index, out long row, out long col, out long row_extents, out long col_extents, out boolean is_selected)</td>
<td>-</td>
<td>-</td>
</tr>
</tr>


</table>
</table>
107

edits