SelectionModel

abstract class SelectionModel[T](val delegate: SelectionModel[T]) extends SFXDelegate[SelectionModel[T]]
Companion
object
trait SFXDelegate[SelectionModel[T]]
class Object
trait Matchable
class Any

Value members

Concrete 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.

def clearSelection(): Unit

Clears the selection model of all selected indices.

Clears the selection model of all selected indices.

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.

def isEmpty: Boolean

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.

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.

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.

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.

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.

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.

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.

def selectPrevious(): Unit

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.

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.

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.

Inherited methods

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: SelectionModel[T]