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.
ListBoxObject
This object is available to unprivileged JavaScript. It implements the following interfaces:
Properties
readonly ListBoxObject listboxBody
Methods
void ensureIndexIsVisible ( PRInt32 rowIndex )
PRInt32 getIndexOfFirstVisibleRow ( )
PRInt32 getIndexOfItem ( Element item )
Element getItemAtIndex ( PRInt32 index )
PRInt32 getNumberOfVisibleRows ( )
PRInt32 getRowCount ( )
void scrollByLines ( PRInt32 numLines )
void scrollToIndex ( PRInt32 rowIndex )
PRInt32 getIndexOfItem ( Element item )
- Arguments:
- item
Element getItemAtIndex ( PRInt32 index )
- Arguments:
- index
Reference documentation is generated from Mozilla's source.
