TextFieldTableCell

class Object
trait Matchable
class Any

Value members

Concrete methods

def forTableColumn[S](): TableColumn[S, String] => TableCell[S, String]

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when TableView.edit(int, scalafx.scene.control.TableColumn) is called.

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when TableView.edit(int, scalafx.scene.control.TableColumn) is called.

Returns

A Function that can be inserted into the cell factory property of a TableColumn, that enables textual editing of the content.

def forTableColumn[S, T](converter: StringConverter[T]): TableColumn[S, T] => TableCell[S, T]

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when TableView.edit(int, scalafx.scene.control.TableColumn) is called.

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when TableView.edit(int, scalafx.scene.control.TableColumn) is called.

Value Params
converter

A StringConverter that can convert the given String (from what the user typed in) into an instance of type T.

Returns

A Function that can be inserted into the cell factory property of a TableColumn, that enables textual editing of the content.

Deprecated methods

@deprecated(message = "Use forTableColumn[S, T](StringConverter[T])", since = "1.0")
def forTableColumn[S, T](converter: StringConverter[T]): Callback[TableColumn[S, T], TableCell[S, T]]

Added to satisfy Spec Texts.

Added to satisfy Spec Texts.

Deprecated
[Since version 1.0] Use forTableColumn[S, T](StringConverter[T])

Implicits

Implicits

implicit def sfxTextFieldTableCell2jfx[S, T](cell: TextFieldTableCell[S, T]): TextFieldTableCell[S, T]

Converts a ScalaFX TextFieldTableCell to its JavaFX counterpart.

Converts a ScalaFX TextFieldTableCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the ListView.

Value Params
cell

ScalaFX TextFieldTableCell

Returns

JavaFX TextFieldTableCell