FocusModel

abstract class FocusModel[T](val delegate: FocusModel[T]) extends SFXDelegate[FocusModel[T]]

Wraps a JavaFX FocusModel.

Wraps a JavaFX FocusModel.

Type Params
T

The type of the underlying data model for the UI control.

Value Params
delegate

JavaFX FocusModel to be wrapped.

Constructor

Creates a new ScalaFX FocusModel from its JavaFX counterpart.

Companion
object
trait SFXDelegate[FocusModel[T]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def focus(index: Int): Unit

Causes the item at the given index to receive the focus.

Causes the item at the given index to receive the focus.

Value Params
index

The index of the item to get focus.

def focusNext(): Unit

Attempts to give focus to the row after to the currently focused row.

Attempts to give focus to the row after to the currently focused row.

def focusPrevious(): Unit

Attempts to give focus to the row previous to the currently focused row.

Attempts to give focus to the row previous to the currently focused row.

The index of the current item in the FocusModel which has the focus.

The index of the current item in the FocusModel which has the focus.

The current item in the FocusModel which has the focus.

The current item in the FocusModel which has the focus.

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: FocusModel[T]