gecko/dom/interfaces/xul/nsIDOMXULElement.idl
David Major e1781611b1 Bug 1051858: Update UUIDs that should have been revved in bug 741295. r=smaug
--HG--
extra : rebase_source : ec9740e1a9794ae8d974f36a503e97fb2e4fc95e
2014-08-14 10:38:29 +12:00

84 lines
2.6 KiB
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
#include "nsIDOMElement.idl"
interface nsIRDFCompositeDataSource;
interface nsIXULTemplateBuilder;
interface nsIRDFResource;
interface nsIControllers;
interface nsIBoxObject;
[uuid(604d10c0-6ad0-4419-ad2f-a090d20bd7dc)]
interface nsIDOMXULElement : nsIDOMElement
{
// Layout properties
attribute DOMString align;
attribute DOMString dir;
attribute DOMString flex;
attribute DOMString flexGroup;
attribute DOMString ordinal;
attribute DOMString orient;
attribute DOMString pack;
// Properties for hiding elements.
attribute boolean hidden;
attribute boolean collapsed;
// Property for hooking up to broadcasters
attribute DOMString observes;
// Properties for hooking up to popups
attribute DOMString menu;
attribute DOMString contextMenu;
attribute DOMString tooltip;
// Width/height properties
attribute DOMString width;
attribute DOMString height;
attribute DOMString minWidth;
attribute DOMString minHeight;
attribute DOMString maxWidth;
attribute DOMString maxHeight;
// Persistence
attribute DOMString persist;
// Position properties for
// * popups - these are screen coordinates
// * other elements - these are client coordinates relative to parent stack.
attribute DOMString left;
attribute DOMString top;
// XUL Template Builder
attribute DOMString datasources;
attribute DOMString ref;
// Tooltip and status info
attribute DOMString tooltipText;
attribute DOMString statusText;
attribute boolean allowEvents;
readonly attribute nsIRDFCompositeDataSource database;
readonly attribute nsIXULTemplateBuilder builder;
readonly attribute nsIRDFResource resource;
readonly attribute nsIControllers controllers;
readonly attribute nsIBoxObject boxObject;
void focus();
void blur();
void click();
void doCommand();
nsIDOMNodeList getElementsByAttribute(in DOMString name,
in DOMString value);
nsIDOMNodeList getElementsByAttributeNS(in DOMString namespaceURI,
in DOMString name,
in DOMString value);
};