Class StupidSimpleSingleSelectionModel<T>
java.lang.Object
javafx.scene.control.SelectionModel<T>
javafx.scene.control.MultipleSelectionModel<T>
de.rpgframework.jfx.StupidSimpleSingleSelectionModel<T>
-
Property Summary
Properties inherited from class javafx.scene.control.MultipleSelectionModel
selectionModeProperties inherited from class javafx.scene.control.SelectionModel
selectedIndex, selectedItem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAndSelect(int index) voidvoidclearSelection(int index) booleanisEmpty()booleanisSelected(int index) voidselect(int index) voidvoidvoidvoidselectIndices(int index, int... indices) voidvoidvoidMethods inherited from class javafx.scene.control.MultipleSelectionModel
getSelectionMode, selectionModeProperty, selectRange, setSelectionModeMethods inherited from class javafx.scene.control.SelectionModel
getSelectedIndex, getSelectedItem, selectedIndexProperty, selectedItemProperty, setSelectedIndex, setSelectedItem
-
Constructor Details
-
StupidSimpleSingleSelectionModel
-
-
Method Details
-
getSelectedIndices
- Specified by:
getSelectedIndicesin classMultipleSelectionModel<T>- See Also:
-
getSelectedItems
- Specified by:
getSelectedItemsin classMultipleSelectionModel<T>- See Also:
-
selectIndices
public void selectIndices(int index, int... indices) - Specified by:
selectIndicesin classMultipleSelectionModel<T>
-
selectAll
public void selectAll()- Specified by:
selectAllin classMultipleSelectionModel<T>- See Also:
-
selectFirst
public void selectFirst()- Specified by:
selectFirstin classMultipleSelectionModel<T>- See Also:
-
selectLast
public void selectLast()- Specified by:
selectLastin classMultipleSelectionModel<T>- See Also:
-
clearAndSelect
public void clearAndSelect(int index) - Specified by:
clearAndSelectin classSelectionModel<T>- See Also:
-
select
public void select(int index) - Specified by:
selectin classSelectionModel<T>- See Also:
-
select
- Specified by:
selectin classSelectionModel<T>- See Also:
-
clearSelection
public void clearSelection(int index) - Specified by:
clearSelectionin classSelectionModel<T>- See Also:
-
clearSelection
public void clearSelection()- Specified by:
clearSelectionin classSelectionModel<T>- See Also:
-
isSelected
public boolean isSelected(int index) - Specified by:
isSelectedin classSelectionModel<T>- See Also:
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classSelectionModel<T>- See Also:
-
selectPrevious
public void selectPrevious()- Specified by:
selectPreviousin classSelectionModel<T>- See Also:
-
selectNext
public void selectNext()- Specified by:
selectNextin classSelectionModel<T>- See Also:
-