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.

nsIListBoxObject

IID:FDE7C970-0B4E-49f4-B1EB-974AE6C96336
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly nsIListBoxObject listboxBody


Methods

void ensureIndexIsVisible ( PRInt32 rowIndex ) PRInt32 getIndexOfFirstVisibleRow ( ) PRInt32 getIndexOfItem ( nsIDOMElement item ) nsIDOMElement getItemAtIndex ( PRInt32 index ) PRInt32 getNumberOfVisibleRows ( ) PRInt32 getRowCount ( ) void scrollByLines ( PRInt32 numLines ) void scrollToIndex ( PRInt32 rowIndex )

void ensureIndexIsVisible ( PRInt32 rowIndex )

Arguments:
rowIndex

PRInt32 getIndexOfFirstVisibleRow ( )


PRInt32 getIndexOfItem ( nsIDOMElement item )

Arguments:
item

nsIDOMElement getItemAtIndex ( PRInt32 index )

Arguments:
index

PRInt32 getNumberOfVisibleRows ( )


PRInt32 getRowCount ( )


void scrollByLines ( PRInt32 numLines )

Arguments:
numLines

void scrollToIndex ( PRInt32 rowIndex )

Arguments:
rowIndex

References

This interface is the type of the following properties:

nsIListBoxObject.listboxBody

Reference documentation is generated from Mozilla's source.