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.

BoxObject

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

readonly Element element

readonly Element firstChild

readonly PRInt32 height

readonly Element lastChild

nsIBoxLayoutManager layoutManager

readonly Element nextSibling

nsIBoxPaintManager paintManager

readonly Element parentBox

readonly Element previousSibling

readonly PRInt32 screenX

readonly PRInt32 screenY

readonly PRInt32 width

readonly PRInt32 x

readonly PRInt32 y


Methods

PRUnichar* getLookAndFeelMetric ( PRUnichar* propertyName ) 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* getLookAndFeelMetric ( PRUnichar* propertyName )

Arguments:
propertyName

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

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com