tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

TreeColumn.webidl (994B)


      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/. */
      4 
      5 [ChromeOnly, Exposed=Window]
      6 interface TreeColumn {
      7  readonly attribute Element element;
      8 
      9  readonly attribute TreeColumns? columns;
     10 
     11  [Throws]
     12  readonly attribute long x;
     13  [Throws]
     14  readonly attribute long width;
     15 
     16  readonly attribute DOMString id;
     17  readonly attribute long index;
     18 
     19  readonly attribute boolean primary;
     20  readonly attribute boolean cycler;
     21  readonly attribute boolean editable;
     22 
     23  const short TYPE_TEXT                = 1;
     24  const short TYPE_CHECKBOX            = 2;
     25  readonly attribute short type;
     26 
     27  TreeColumn? getNext();
     28  TreeColumn? getPrevious();
     29 
     30  /**
     31   * Returns the previous displayed column, if any, accounting for
     32   * the ordinals set on the columns.
     33   */
     34  readonly attribute TreeColumn? previousColumn;
     35 
     36  [Throws]
     37  undefined invalidate();
     38 };