Example usage for Java javafx.scene.control SelectionModel fields, constructors, methods, implement or subclass
The text is from its open source code.
int | getSelectedIndex() Returns the integer value indicating the currently selected index in this model. |
void | select(int index) This will select the given index in the selection model, assuming the index is within the valid range (i.e. |
void | select(T obj) This method will attempt to select the index that contains the given object. |