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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com