SingleSelectionModel

scalafx.scene.control.SingleSelectionModel
See theSingleSelectionModel companion object
abstract class SingleSelectionModel[T](val delegate: SingleSelectionModel[T]) extends SelectionModel[T], SFXDelegate[SingleSelectionModel[T]]

Attributes

Companion
object
Graph
Supertypes
class SelectionModel[T]
trait SFXDelegate[SingleSelectionModel[T]]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def clearAndSelect(index: Int): Unit

A method that clears any selection prior to setting the selection to the given index.

A method that clears any selection prior to setting the selection to the given index.

Attributes

Inherited from:
SelectionModel
def clearSelection(index: Int): Unit

This method will clear the selection of the item in the given index.

This method will clear the selection of the item in the given index.

Attributes

Inherited from:
SelectionModel

Clears the selection model of all selected indices.

Clears the selection model of all selected indices.

Attributes

Inherited from:
SelectionModel
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

This method is available to test whether there are any selected indices/items.

This method is available to test whether there are any selected indices/items.

Attributes

Inherited from:
SelectionModel
def isSelected(index: Int): Boolean

Convenience method to inform if the given index is currently selected in this SelectionModel.

Convenience method to inform if the given index is currently selected in this SelectionModel.

Attributes

Inherited from:
SelectionModel
def select(obj: T): Unit

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

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

Attributes

Inherited from:
SelectionModel
def select(index: Int): Unit

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

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

Attributes

Inherited from:
SelectionModel
def selectFirst(): Unit

This method will attempt to select the first index in the control.

This method will attempt to select the first index in the control.

Attributes

Inherited from:
SelectionModel
def selectLast(): Unit

This method will attempt to select the last index in the control.

This method will attempt to select the last index in the control.

Attributes

Inherited from:
SelectionModel
def selectNext(): Unit

This method will attempt to select the index directly after the current focused index.

This method will attempt to select the index directly after the current focused index.

Attributes

Inherited from:
SelectionModel

This method will attempt to select the index directly before the current focused index.

This method will attempt to select the index directly before the current focused index.

Attributes

Inherited from:
SelectionModel

Refers to the selected index property, which is used to indicate the currently selected index value in the selection model.

Refers to the selected index property, which is used to indicate the currently selected index value in the selection model.

Attributes

Inherited from:
SelectionModel

Refers to the selected item property, which is used to indicate the currently selected item in the selection model.

Refers to the selected item property, which is used to indicate the currently selected item in the selection model.

Attributes

Inherited from:
SelectionModel
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: SingleSelectionModel[T]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes