Spec-Zone .ru
спецификации, руководства, описания, API
|
static class ListView.ListViewBitSetSelectionModel<T> extends MultipleSelectionModelBase<T>
selectionMode
selectedIndex, selectedItem
Constructor and Description |
---|
ListView.ListViewBitSetSelectionModel(ListView<T> listView)
*
Constructors *
*
|
Modifier and Type | Method and Description |
---|---|
protected void |
focus(int row) |
protected int |
getFocusedIndex() |
protected int |
getItemCount()
Returns the number of items in the data model that underpins the control.
|
T |
getModelItem(int index)
Returns the item at the given index.
|
clearAndSelect, clearSelection, clearSelection, getSelectedIndices, getSelectedItems, isEmpty, isSelected, select, select, selectAll, selectFirst, selectIndices, selectLast, selectNext, selectPrevious
getSelectionMode, selectionModeProperty, selectRange, setSelectionMode
getSelectedIndex, getSelectedItem, selectedIndexProperty, selectedItemProperty, setSelectedIndex, setSelectedItem
protected void focus(int row)
focus
in class MultipleSelectionModelBase<T>
protected int getFocusedIndex()
getFocusedIndex
in class MultipleSelectionModelBase<T>
protected int getItemCount()
listView.getItems().size()
. The valid range of selectable
indices is between 0 and whatever is returned by this method.getItemCount
in class MultipleSelectionModelBase<T>
public T getModelItem(int index)
listView.getItems().get(index)
.getModelItem
in class MultipleSelectionModelBase<T>
index
- The index of the item that is requested from the underlying
data model.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to