ListSelectionMode
Package | qnx.ui.listClasses |
Class | public class ListSelectionMode |
Inheritance | ListSelectionMode ![]() |
The
ListSelectionMode
class defines how a user interacts with the cells in a List
. For example, you can
create a list that allows a user to select multiple cells, or you can define the ListSelectionMode
property to disable
all cell selection.
Each mode is defined by one of the following constants:
- NONE - disables user-interaction at the cell level. The user cannot select an item.
- SINGLE - indicates that only a single item can be selected at any given time
- MULTIPLE - indicates that multiple items can be selected at any given time
Class information: |
---|
PlayBook Tablet OS Version: 1.0.6 |
See also
Public Constants
Constant | Defined By | ||
---|---|---|---|
MULTIPLE : int = 2 [static]
A constant indicating that multiple cells can be selected at any given time. | ListSelectionMode | ||
NONE : int = 0 [static]
A constant indicating no user-selection. | ListSelectionMode | ||
SINGLE : int = 1 [static]
A constant indicating that only a single cell can be selected at any given time. | ListSelectionMode |
Constant Detail
MULTIPLE
public static const MULTIPLE:int = 2 |
A constant indicating that multiple cells can be selected at any given time.
NONE
public static const NONE:int = 0 |
A constant indicating no user-selection.
SINGLE
public static const SINGLE:int = 1 |
A constant indicating that only a single cell can be selected at any given time.