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 )

void ensureIndexIsVisible ( PRInt32 rowIndex )

Arguments:
rowIndex

PRInt32 getIndexOfFirstVisibleRow ( )


PRInt32 getIndexOfItem ( Element item )

Arguments:
item

Element getItemAtIndex ( PRInt32 index )

Arguments:
index

PRInt32 getNumberOfVisibleRows ( )


PRInt32 getRowCount ( )


void scrollByLines ( PRInt32 numLines )

Arguments:
numLines

void scrollToIndex ( PRInt32 rowIndex )

Arguments:
rowIndex

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com