WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIBoxObject

IID:ce572460-b0f2-4650-a9e7-c53a99d3b6ad
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly nsIDOMElement element

readonly nsIDOMElement firstChild

readonly PRInt32 height

readonly nsIDOMElement lastChild

readonly nsIDOMElement nextSibling

readonly nsIDOMElement parentBox

readonly nsIDOMElement previousSibling

readonly PRInt32 screenX

readonly PRInt32 screenY

readonly PRInt32 width

readonly PRInt32 x

readonly PRInt32 y


Methods

PRUnichar* getProperty ( PRUnichar* propertyName ) nsISupports getPropertyAsSupports ( PRUnichar* propertyName ) void removeProperty ( PRUnichar* propertyName ) void setProperty ( PRUnichar* propertyName , PRUnichar* propertyValue ) void setPropertyAsSupports ( PRUnichar* propertyName , nsISupports value )

PRUnichar* getProperty ( PRUnichar* propertyName )

Arguments:
propertyName

nsISupports getPropertyAsSupports ( PRUnichar* propertyName )

Arguments:
propertyName

void removeProperty ( PRUnichar* propertyName )

Arguments:
propertyName

void setProperty ( PRUnichar* propertyName , PRUnichar* propertyValue )

Arguments:
propertyName
propertyValue

void setPropertyAsSupports ( PRUnichar* propertyName , nsISupports value )

Arguments:
propertyName
value

References

This interface is the type of the following properties:

nsIDOMNSXBLFormControl.boxObject, nsIDOMXULElement.boxObject

This interface is returned from the following methods:

nsIDOMNSDocument.getBoxObjectFor

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com