FocusModel

scalafx.scene.control.FocusModel
See theFocusModel companion object
abstract class FocusModel[T](val delegate: FocusModel[T]) extends SFXDelegate[FocusModel[T]]

Wraps a JavaFX FocusModel.

Type parameters

T

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

Value parameters

delegate

JavaFX FocusModel to be wrapped.

Attributes

Constructor

Creates a new ScalaFX FocusModel from its JavaFX counterpart.

Companion
object
Graph
Supertypes
trait SFXDelegate[FocusModel[T]]
class Object
trait Matchable
class Any
Known subtypes

Members list

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 parameters

index

The index of the item to get focus.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

The current item in the FocusModel which has the focus.

The current item in the FocusModel which has the focus.

Attributes

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes