TableFocusModel

abstract class TableFocusModel[T, TC <: TableColumnBase[T, _]](val delegate: TableFocusModel[T, TC]) extends FocusModel[T] with SFXDelegate[TableFocusModel[T, TC]]

Wraps a JavaFX TableFocusModel.

Wraps a JavaFX TableFocusModel.

Type Params
T

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

TC

The concrete subclass of scalafx.scene.control.TableColumnBase that is used by the underlying UI control (e.g. scalafx.scene.control.TableColumn or TreeTableColumn).

Value Params
delegate

JavaFX TableFocusModel to be wrapped.

Constructor

Creates a new ScalaFX TableFocusModel from its JavaFX counterpart.

Since

8.0

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

Value members

Concrete methods

def focus(row: Int, column: TC): 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
column

The column of the item to give focus to. Can be null.

row

The row index of the item to give focus to.

def focusAboveCell(): Unit

Attempts to move focus to the cell above the currently focused cell.

Attempts to move focus to the cell above the currently focused cell.

def focusBelowCell(): Unit

Attempts to move focus to the cell below the currently focused cell.

Attempts to move focus to the cell below the currently focused cell.

def focusLeftCell(): Unit

Attempts to move focus to the cell to the left of the currently focused cell.

Attempts to move focus to the cell to the left of the currently focused cell.

def focusRightCell(): Unit

Attempts to move focus to the cell to the right of the the currently focused cell.

Attempts to move focus to the cell to the right of the the currently focused cell.

def isFocused(row: Integer, column: TC): Boolean

Tests whether the row / cell at the given location currently has the focus within the UI control.

Tests whether the row / cell at the given location currently has the focus within the UI control.

Value Params
column

The column of the item to give focus to. Can be null.

row

The row index of the item to give focus to.

Returns

true whether the row / cell at the given location currently has the focus within the UI control.

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

Inherited from
FocusModel
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.

Inherited from
FocusModel
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.

Inherited from
FocusModel

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.

Inherited from
FocusModel

The current item in the FocusModel which has the focus.

The current item in the FocusModel which has the focus.

Inherited from
FocusModel
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: TableFocusModel[T, TC]