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.

@mozilla.org/layout/xul-boxobject-scrollbox;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIScrollBoxObject void ensureElementIsVisible ( nsIDOMElement child )
nsIScrollBoxObject void ensureIndexIsVisible ( PRInt32 index )
nsIScrollBoxObject void ensureLineIsVisible ( PRInt32 line )
nsIScrollBoxObject void getPosition ( out PRInt32 x , out PRInt32 y )
nsIScrollBoxObject void getScrolledSize ( out PRInt32 width , out PRInt32 height )
nsIScrollBoxObject void scrollBy ( PRInt32 dx , PRInt32 dy )
nsIScrollBoxObject void scrollByIndex ( PRInt32 dindexes )
nsIScrollBoxObject void scrollByLine ( PRInt32 dlines )
nsIScrollBoxObject void scrollTo ( PRInt32 x , PRInt32 y )
nsIScrollBoxObject void scrollToElement ( nsIDOMElement child )
nsIScrollBoxObject void scrollToIndex ( PRInt32 index )
nsIScrollBoxObject void scrollToLine ( PRInt32 line )

Reference documentation is generated from Mozilla's source.