dom/webidl/TreeColumn.webidl
author Mike de Boer <mdeboer@mozilla.com>
Fri, 10 Apr 2015 13:23:14 +0200
changeset 267072 719d7e41abeac7fee33b6d7ab4676ed6b537c3af
parent 237426 21ea52a1c31dbdbaa068f790005c2f1f61a73dad
child 295694 7d8d6fef4cfda44267d2e6bb511c3268e7fe4bec
permissions -rw-r--r--
Bug 1132301 - Part 5: Add unit tests for the Social Sharing feature of Loop. r=Standard8, a=lizzard

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

[Func="IsChromeOrXBL"]
interface TreeColumn {
  [Throws]
  readonly attribute Element? element;

  readonly attribute TreeColumns? columns;

  [Throws]
  readonly attribute long x;
  [Throws]
  readonly attribute long width;

  readonly attribute DOMString id;
  readonly attribute long index;

  readonly attribute boolean primary;
  readonly attribute boolean cycler;
  readonly attribute boolean editable;
  readonly attribute boolean selectable;

  const short TYPE_TEXT                = 1;
  const short TYPE_CHECKBOX            = 2;
  const short TYPE_PROGRESSMETER       = 3;
  readonly attribute short type;

  TreeColumn? getNext();
  TreeColumn? getPrevious();

  [Throws]
  void invalidate();
};