| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
javax.accessibility
接口 AccessibleTableModelChange
public interface AccessibleTableModelChange
AccessibleTableModelChange 接口描述了表模型的更改。可以通过以下方法获取模型属性的更改:
- public int getType()
- public int getFirstRow();
- public int getLastRow();
- public int getFirstColumn();
- public int getLastColumn();
- INSERT - 已插入一行或多行和/或一列或多列
- UPDATE - 某些表数据已更改
- DELETE - 已删除一行或多行和/或一列或多列
- 另请参见:
Accessible
,Accessible.getAccessibleContext()
,AccessibleContext
,AccessibleContext.getAccessibleTable()
字段摘要 | |
---|---|
static int | DELETE 标识行和/或列的删除。 |
static int | INSERT 标识新行和/或新列的插入。 |
static int | UPDATE 标识现有数据的更改。 |
方法摘要 | |
---|---|
int | getFirstColumn() 返回已更改的第一列。 |
int | getFirstRow() 返回已更改的第一行。 |
int | getLastColumn() 返回已更改的最后一列。 |
int | getLastRow() 返回已更改的最后一行。 |
int | getType() 返回事件的类型 |
字段详细信息 |
---|
INSERT
static final int INSERT
- 标识新行和/或新列的插入。
- 另请参见:
- 常量字段值
UPDATE
static final int UPDATE
- 标识现有数据的更改。
- 另请参见:
- 常量字段值
DELETE
static final int DELETE
- 标识行和/或列的删除。
- 另请参见:
- 常量字段值
方法详细信息 |
---|
getType
int getType()
getFirstRow
int getFirstRow()
- 返回已更改的第一行。
getLastRow
int getLastRow()
- 返回已更改的最后一行。
getFirstColumn
int getFirstColumn()
- 返回已更改的第一列。
getLastColumn
int getLastColumn()
- 返回已更改的最后一列。