| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface AccessibleExtendedTable
AccessibleExtendedTable 类提供了有关以二维表的格式呈现数据的用户界面组件的扩展信息。应用程序通过先获取某个对象的 AccessibleContext,然后调用 AccessibleContext.getAccessibleTable() 方法,能够确定该对象是否支持 AccessibleExtendedTable 接口。如果返回值不为 null,且返回值的类型为 AccessibleExtendedTable,则该对象支持此接口。
| 方法摘要 | |
|---|---|
|  int | getAccessibleColumn(int index)返回表中一个索引的列号。 | 
|  int | getAccessibleIndex(int r,
                   int c) | 
|  int | getAccessibleRow(int index)返回表中一个索引的行号。 | 
| 方法详细信息 | 
|---|
int getAccessibleRow(int index)
index - 表中基于零的索引。行索引是表的单元格距离 row == 0 和 column == 0 的偏移量。
int getAccessibleColumn(int index)
index - 表中基于零的索引。行索引是表的单元格距离 row == 0 和 column == 0 的偏移量。
int getAccessibleIndex(int r,
                       int c)
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。