Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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.

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.

Requires Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

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)

Requires Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

treeViewChanged()

Invalidates children created for the previous tree view.

void treeViewChanged();
Parameters

None.

Requires Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

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.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Kglee
 Last updated by: Sheppy,