1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 [ChromeOnly, Exposed=Window]
7 readonly attribute Element element;
9 readonly attribute TreeColumns? columns;
12 readonly attribute long x;
14 readonly attribute long width;
16 readonly attribute DOMString id;
17 readonly attribute long index;
19 readonly attribute boolean primary;
20 readonly attribute boolean cycler;
21 readonly attribute boolean editable;
23 const short TYPE_TEXT = 1;
24 const short TYPE_CHECKBOX = 2;
25 readonly attribute short type;
27 TreeColumn? getNext();
28 TreeColumn? getPrevious();
31 * Returns the previous displayed column, if any, accounting for
32 * the ordinals set on the columns.
34 readonly attribute TreeColumn? previousColumn;
37 undefined invalidate();