Java javafx.scene.control SelectionModel fields, constructors, methods, implement or subclass

Example usage for Java javafx.scene.control SelectionModel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javafx.scene.control SelectionModel.

The text is from its open source code.

Method

intgetSelectedIndex()

Returns the integer value indicating the currently selected index in this model.

voidselect(int index)

This will select the given index in the selection model, assuming the index is within the valid range (i.e.

voidselect(T obj)

This method will attempt to select the index that contains the given object.