public class NoOpSelectionModel<T>
extends javafx.scene.control.MultipleSelectionModel<T>
Constructor and Description |
---|
NoOpSelectionModel() |
Modifier and Type | Method and Description |
---|---|
void |
clearAndSelect(int index) |
void |
clearSelection() |
void |
clearSelection(int index) |
javafx.collections.ObservableList<java.lang.Integer> |
getSelectedIndices() |
javafx.collections.ObservableList<T> |
getSelectedItems() |
boolean |
isEmpty() |
boolean |
isSelected(int index) |
void |
select(int index) |
void |
select(T obj) |
void |
selectAll() |
void |
selectFirst() |
void |
selectIndices(int index,
int... indices) |
void |
selectLast() |
void |
selectNext() |
void |
selectPrevious() |
getSelectionMode, selectionModeProperty, selectRange, setSelectionMode
public javafx.collections.ObservableList<java.lang.Integer> getSelectedIndices()
getSelectedIndices
in class javafx.scene.control.MultipleSelectionModel<T>
public javafx.collections.ObservableList<T> getSelectedItems()
getSelectedItems
in class javafx.scene.control.MultipleSelectionModel<T>
public void selectIndices(int index, int... indices)
selectIndices
in class javafx.scene.control.MultipleSelectionModel<T>
public void selectAll()
selectAll
in class javafx.scene.control.MultipleSelectionModel<T>
public void selectFirst()
selectFirst
in class javafx.scene.control.MultipleSelectionModel<T>
public void selectLast()
selectLast
in class javafx.scene.control.MultipleSelectionModel<T>
public void clearAndSelect(int index)
clearAndSelect
in class javafx.scene.control.SelectionModel<T>
public void select(int index)
select
in class javafx.scene.control.SelectionModel<T>
public void select(T obj)
select
in class javafx.scene.control.SelectionModel<T>
public void clearSelection(int index)
clearSelection
in class javafx.scene.control.SelectionModel<T>
public void clearSelection()
clearSelection
in class javafx.scene.control.SelectionModel<T>
public boolean isSelected(int index)
isSelected
in class javafx.scene.control.SelectionModel<T>
public boolean isEmpty()
isEmpty
in class javafx.scene.control.SelectionModel<T>
public void selectPrevious()
selectPrevious
in class javafx.scene.control.SelectionModel<T>
public void selectNext()
selectNext
in class javafx.scene.control.SelectionModel<T>