TableFocusModel

scalafx.scene.control.TableFocusModel
See theTableFocusModel companion object
abstract class TableFocusModel[T, TC <: TableColumnBase[T, _]](val delegate: TableFocusModel[T, TC]) extends FocusModel[T], SFXDelegate[TableFocusModel[T, TC]]

Wraps a JavaFX TableFocusModel.

Type parameters

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 parameters

delegate

JavaFX TableFocusModel to be wrapped.

Attributes

Constructor

Creates a new ScalaFX TableFocusModel from its JavaFX counterpart.

Since

8.0

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

Members list

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 parameters

column

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

row

The row index of the item to give focus to.

Attributes

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

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

Attributes

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

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

Attributes

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.

Attributes

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.

Attributes

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 parameters

column

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

row

The row index of the item to give focus to.

Attributes

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

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.

Attributes

Inherited from:
FocusModel

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

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.

Attributes

Inherited from:
FocusModel

The current item in the FocusModel which has the focus.

The current item in the FocusModel which has the focus.

Attributes

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes