gecko/dom/interfaces/xul/nsIDOMXULElement.idl
Ms2ger a75666050c Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00

86 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;
[scriptable, uuid(4190fae4-a678-49b3-88da-5fc5c086cf77)]
interface nsIDOMXULElement : nsIDOMElement
{
attribute DOMString className;
// 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);
};