Search completed in 1.18 seconds.
6 results for "nsidomnodelist":
nsIDOMElement
This interface represents an element in an HTML or XML document. ...
...cument. ...
...Attribute name Return value A nsIDOMAttr corresponding to the attribute. getAttributeNS() Get an attribute value in a given namespace. DOMString getAttributeNS( in DOMString namespaceURI, in DOMString localName ); Parameters namespaceURI Namespace URI localName Attribute name Return value A DOMString containing the attribute value. getElementsByTagName() Get all descendants of a tag name. ...
...bute value in a given namespace. DOMString getAttributeNS( in DOMString namespaceURI, in DOMString localName ); Parameters namespaceURI Namespace URI localName Attribute name Return value A DOMString containing the attribute value. getElementsByTagName() Get all descendants of a tag name.
nsIDOMNodeList getElementsByTagName( in DOMString name ); Parameters name Tag name Return value A
nsIDOMNodeList containg all the descendants of this tag name. getElementsByTagNameNS() Get all descendants of a tag name in a given namespace.
nsIDOMNodeList getElementsByTagNameNS( in DOMString namespaceURI, in DOMString localName ); Parameters namespaceURI Namespace URI localName Tag name Return value A
nsIDOMNodeList containg all the descendants of this tag name. hasAttribute() Check if the element ha...
nsIDOMWindowUtils
ontents(in long aScript); void getScrollXY(in boolean aFlushLayout, out long aScrollX, out long aScrollY); AString getVisitedDependentComputedStyle(in nsIDOMElement aElement, in AString aPseudoElement, in AString aPropertyName); boolean isInModalState(); void leaveModalState(); void loadSheet(in nsIURI sheetURI, in unsigned long type);
nsIDOMNodeList nodesFromRect(in float aX, in float aY, in float aTopSize, in float aRightSize, in float aBottomSize, in float aLeftSize, in boolean aIgnoreRootScrollFrame, in boolean aFlushLayout); void processUpdates(); Obsolete since Gecko 13.0 void purgePCCounts(); unsigned long redraw([optional] in unsigned long aCount); void RenderDocument(in nsConstRect aRect, in ...
... The only difference is that they are applied only on the document owned by this window. Sheets added via this API take effect immediately on the document. unsigned long loadSheet( in nsIURI sheetURI, in unsigned long type ); Parameters sheetURI The nsIURI of the CSS file to be removed. type The type of the sheet (AGENT_SHEET, USER_SHEET or AUTHOR_SHEET). ...
...Returns an
nsIDOMNodeList containing all nodes that intersect a specified rectangle within the window's document. The rectangle is specified using a central point and a distance to expand in all four cardinal directions. This is used to locate nodes that are within some number of pixels of a point; for example, you can use this to find candidate target nodes when the user taps on a touch screen.
nsIDOMNodeList nodesFromRect( in float aX, in float aY, in float aTopSize, in float aRightSize, in float aBottomSize, in float aLeftSize, in boolean aIgnoreRootScrollFrame, in boolean aFlushLayout ); Parameters aX The X coordinate of the point at which to begin constructing the rectangle, in CSS pixels. aY The Y coordinate of the point at which to begin constructing the rectangle, in CSS...
...). aIgnoreRootScrollFrame Whether or not to ignore the root scroll frame when retrieving the nodes. If this is false, this method will return null for coordinates outside the viewport. aFlushLayout If true, layout is flushed before hit testing begins. This ensures that the node list is current. If you don't need an absolutely up to date node list, you can set this to false. Return value An
nsIDOMNodeList referencing all the nodes that intersect the specified rectangle. processUpdates() Obsolete since Gecko 13.0 (Firefox 13.0 / Thunderbird 13.0 / SeaMonkey 2.10) Force processing of any queued paints. void processUpdates(); Parameters None. purgePCCounts() Purge all accumulated profile information for scripts which was generated after a call to stopPCCountProfili...
nsIDOMXULElement
dom/interfaces/xul/nsIDOMXULElement.idlScriptable Represents a XUL element within the DOM. 66 Introduced Gecko 1.0 Inherits from: nsIDOMElement Last changed in Gecko 1.9 (Firefox 3) Method overview void blur(); void click(); void doCommand(); void focus();
nsIDOMNodeList getElementsByAttribute(in DOMString name, in DOMString value);
nsIDOMNodeList getElementsByAttributeNS(in DOMString namespaceURI, in DOMString name, in DOMString value); Attributes Attribute Type Description align DOMString Gets/sets the value of the element's align attribute. allowEvents boolean true if the element's allowevents attribute is the string "true", otherwise false. Removes the attribute if you set it to false. boxObject nsIBoxObject Read only. Gets or creates a box ...
.... doCommand() Generates and dispatches a basic command event, as if the element was clicked with no keyboard modifiers. void doCommand(); Parameters None. focus() Attempts to set focus to the element; will not work for example for disabled elements. void focus(); Parameters None. getElementsByAttribute() Searches the DOM subtree for elements with the given attribute that are not in a namespace.
nsIDOMNodeList getElementsByAttribute( in DOMString name, in DOMString value ); Parameters name The name of the attribute to search for. value The value of the attribute to search for, or "*" to search for the attribute without regard to the value. Return value A list of elements with matching attributes that have no namespace. Starting in Gecko 1.8 this is a live list of elements rather than a snapshot.
...o search for. value The value of the attribute to search for, or "*" to search for the attribute without regard to the value. Return value A list of elements with matching attributes that have no namespace. Starting in Gecko 1.8 this is a live list of elements rather than a snapshot. getElementsByAttributeNS() Searches the DOM subtree for elements with the given attribute in the given namespace.
nsIDOMNodeList getElementsByAttributeNS( in DOMString namespaceURI, in DOMString name, in DOMString value ); Parameters namespaceURI The namespace of the attribute to search for, or "*" to search attributes in all namespaces. name The name of the attribute to search for. value The value of the attribute to search for, or "*" to search for the attribute without regard to the value. Return value A list ...
inIDOMUtils
r/dom-utils;1"] .getService(Components.interfaces.inIDOMUtils); Method overview void addPseudoClassLock(in nsIDOMElement aElement, in DOMString aPseudoClass); void clearPseudoClassLocks(in nsIDOMElement aElement); [implicit_jscontext] jsval colorNameToRGB(in DOMString aColorName); nsIArray getBindingURLs(in nsIDOMElement aElement);
nsIDOMNodeList getChildrenForNode(in nsIDOMNode aNode, in boolean aShowingAnonymousContent); unsigned long long getContentState(in nsIDOMElement aElement); void getCSSPropertyNames([optional] in unsigned long aFlags, [optional] out unsigned long aCount, [retval, array, size_is(aCount)] out wstring aProps); nsISupportsArray getCSSStyleRules(in nsIDOMElement aElement, [optional] in DO...
... XML binding for the specified element. nsIArray getBindingURLs( in nsIDOMElement aElement ); Parameters aElement A DOM Element to retrieve the bindings of. Return value An array of nsIURI objects representing the current XBL binding (if any) for the element and its hierarchy of base bindings. getChildrenForNode() Returns a list of DOM nodes that are children of the specified node.
nsIDOMNodeList getChildrenForNode( in nsIDOMNode aNode, in boolean aShowingAnonymousContent ); Parameters aNode A DOM Node for which to retrieve the style nodes. aShowingAnonymousContent Whether you are interested in the XBL flattened tree. Return value A DOM NodeList of the child nodes. If you have requested anonymous content, then if the element has an XBL binding then this will be the binding'...
nsIDOMNode
asChildNodes(); nsIDOMNode insertBefore(in nsIDOMNode newChild, in nsIDOMNode refChild) boolean isSupported(in DOMString feature, in DOMString version); void normalize(); nsIDOMNode removeChild(in nsIDOMNode oldChild) nsIDOMNode replaceChild(in nsIDOMNode newChild, in nsIDOMNode oldChild) Attributes Attribute Type Description attributes nsIDOMNamedNodeMap Read only. childNodes
nsIDOMNodeList Read only. firstChild nsIDOMNode Read only. lastChild nsIDOMNode Read only. localName DOMString Read only. namespaceURI DOMString Read only. nextSibling nsIDOMNode Read only. nodeName DOMString Read only. nodeType unsigned short Read only. nodeValue DOMString ownerDocument nsIDOMDocument Read only. parentNode nsIDOMNode Read only. prefix DOMString previousSibling nsIDO...
nsIXFormsNSModelElement
ll XForms <model/> elements. It defines Mozilla extensions to the nsIXFormsModelElement interface. extensions/xforms/nsIXFormsNSModelElement.idlScriptable Please add a summary to this article. Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0) Interface Code [scriptable, uuid(85fd60c7-1db7-40c0-ae8d-f723fdd1eea8)] interface nsIXFormsNSModelElement : nsISupports {
nsIDOMNodeList getInstanceDocuments(); }; Methods getInstanceDocuments
nsIDOMNodeList getInstanceDocuments(); getInstanceDocuments returns a
nsIDOMNodeList containing all the instance documents for the model, making it possible to enumerate over instances in the model without knowing their names. Related Interfaces nsIXFormsModelElement Example Code None. ...