TextFieldListCell

class Object
trait Matchable
class Any

Value members

Concrete methods

def forListView(): ListView[String] => ListCell[String]

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when ListView.edit(int) is called.

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when ListView.edit(int) is called.

Returns

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

def forListView[T](converter: StringConverter[T]): ListView[T] => ListCell[T]

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when ListView.edit(int) is called.

Provides a TextField that allows editing of the cell content when the cell is double-clicked, or when ListView.edit(int) 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 ListView, that enables textual editing of the content.

Deprecated methods

@deprecated(message = "Use forListView[T](StringConverter[T])", since = "1.0")
def forListView[T](converter: StringConverter[T]): Callback[ListView[T], ListCell[T]]

Added to satisfy Spec Texts.

Added to satisfy Spec Texts.

Deprecated
[Since version 1.0] Use forListView[T](StringConverter[T])

Implicits

Implicits

implicit def sfxTextFieldListCell2jfx[T](cell: TextFieldListCell[T]): TextFieldListCell[T]

Converts a ScalaFX TextFieldListCell to its JavaFX counterpart.

Converts a ScalaFX TextFieldListCell to its JavaFX counterpart.

Type Params
T

The type of the elements contained within the ListView.

Value Params
cell

ScalaFX TextFieldListCell

Returns

JavaFX TextFieldListCell