nsIAccessibleTreeCache 编辑
Obsolete since Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
A private interface to operate with tree accessible.
accessible/public/nsIAccessibleTreeCache.idl
Not scriptable Please add a summary to this article. Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)Inherits from: nsISupports
Method overview
nsIAccessible getCachedTreeitemAccessible(in long aRow, in nsITreeColumn aColumn); |
void invalidateCache(in long aRow, in long aCount); |
void treeViewChanged(); |
void treeViewInvalidated(in long aStartRow, in long aEndRow, in long aStartCol, in long aEndCol); |
Methods
getCachedTreeitemAccessible()
Returns the tree item from the cache for the cell in the specified row and column; the nsIAccessible
is created if it doesn't already exist in the cache.
nsIAccessible getCachedTreeitemAccessible( in long aRow, in nsITreeColumn aColumn );
Parameters
aRow
- The row index.
aColumn
- The column object. If is is
null
then the primary column is used. It makes sense for ATK only.
Return value
The nsIAccessible
corresponding to the specified tree cell.
invalidateCache()
Invalidates the number of cached treeitem accessibles.
void invalidateCache( in long aRow, in long aCount );
Parameters
aRow
- Row index the invalidation starts from.
aCount
- The number of treeitem accessibles to invalidate, the number sign specifies whether rows have been inserted (plus) or removed (minus)
treeViewChanged()
Invalidates children created for the previous tree view.
void treeViewChanged();
Parameters
None.
treeViewInvalidated()
Fires name change events for invalidated area of tree.
void treeViewInvalidated( in long aStartRow, in long aEndRow, in long aStartCol, in long aEndCol );
Parameters
aStartRow
- Row index invalidation starts from.
aEndRow
- Row index invalidation ends, -1 means the last row index.
aStartCol
- Column index invalidation starts from.
aEndCol
- Column index invalidation ends, -1 means the last column index.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论