List.List
Class Overview | Class Members |
This Package |
All Packages
public List()
Description
Creates a new scrolling list. Initially there are no visible
lines, and only one item can be selected from the list.
public List( int rows )
Parameters
- rows
- the number of items to show.
Description
Creates a new scrolling list initialized with the specified
number of visible lines. By default, multiple selections are
not allowed.
public List( int rows,
boolean multipleMode )
Parameters
- rows
- the number of items to show.
- multipleMode
- if true,
then multiple selections are allowed;
otherwise, only one item can be selected at a time.
Description
Creates a new scrolling list initialized to display the specified
number of rows. If the value of multipleMode is
true, then the user can select multiple items from
the list. If it is false, only one item at a time
can be selected.