package cell
- Alphabetic
- By Inheritance
- cell
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
CellIncludes extends AnyRef
Contains implcit methods to convert from
javafx.scene.control.cell
Classes/Traits to their ScalaFX counterparts. -
class
CheckBoxListCell[T] extends ListCell[T] with ConvertableCell[javafx.scene.control.cell.CheckBoxListCell[T], T, T] with StateSelectableCell[javafx.scene.control.cell.CheckBoxListCell[T], T, T] with UpdatableCell[javafx.scene.control.cell.CheckBoxListCell[T], T] with SFXDelegate[javafx.scene.control.cell.CheckBoxListCell[T]]
Wraps
CheckBoxListCell
Wraps
CheckBoxListCell
- T
Type used in this cell
-
class
CheckBoxTableCell[S, T] extends TableCell[S, T] with ConvertableCell[javafx.scene.control.cell.CheckBoxTableCell[S, T], T, T] with StateSelectableCell[javafx.scene.control.cell.CheckBoxTableCell[S, T], T, Integer] with UpdatableCell[javafx.scene.control.cell.CheckBoxTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.CheckBoxTableCell[S, T]]
Wraps
CheckBoxTableCell
Wraps
CheckBoxTableCell
- T
Type used in this cell
-
class
CheckBoxTreeCell[T] extends TreeCell[T] with ConvertableCell[javafx.scene.control.cell.CheckBoxTreeCell[T], T, javafx.scene.control.TreeItem[T]] with StateSelectableCell[javafx.scene.control.cell.CheckBoxTreeCell[T], T, javafx.scene.control.TreeItem[T]] with UpdatableCell[javafx.scene.control.cell.CheckBoxTreeCell[T], T] with SFXDelegate[javafx.scene.control.cell.CheckBoxTreeCell[T]]
Wraps
CheckBoxTreeCell
Wraps
CheckBoxTreeCell
- T
Type used in this cell
-
class
CheckBoxTreeTableCell[S, T] extends TreeTableCell[S, T] with ConvertableCell[javafx.scene.control.cell.CheckBoxTreeTableCell[S, T], T, T] with StateSelectableCell[javafx.scene.control.cell.CheckBoxTreeTableCell[S, T], T, Integer] with UpdatableCell[javafx.scene.control.cell.CheckBoxTreeTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.CheckBoxTreeTableCell[S, T]]
Wraps JavaFX
CheckBoxTreeTableCell
Wraps JavaFX
CheckBoxTreeTableCell
- T
The type of the elements contained within the TreeTableColumn.
- Since
8.0
-
class
ChoiceBoxListCell[T] extends ListCell[T] with ConvertableCell[javafx.scene.control.cell.ChoiceBoxListCell[T], T, T] with UpdatableCell[javafx.scene.control.cell.ChoiceBoxListCell[T], T] with ItemableCell[javafx.scene.control.cell.ChoiceBoxListCell[T], T] with SFXDelegate[javafx.scene.control.cell.ChoiceBoxListCell[T]]
Wraps
ChoiceBoxListCell
Wraps
ChoiceBoxListCell
- T
Type used in this cell
-
class
ChoiceBoxTableCell[S, T] extends TableCell[S, T] with ConvertableCell[javafx.scene.control.cell.ChoiceBoxTableCell[S, T], T, T] with UpdatableCell[javafx.scene.control.cell.ChoiceBoxTableCell[S, T], T] with ItemableCell[javafx.scene.control.cell.ChoiceBoxTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.ChoiceBoxTableCell[S, T]]
Wraps
ChoiceBoxListCell
Wraps
ChoiceBoxListCell
- T
Type used in this cell
-
class
ChoiceBoxTreeCell[T] extends TreeCell[T] with ConvertableCell[javafx.scene.control.cell.ChoiceBoxTreeCell[T], T, T] with UpdatableCell[javafx.scene.control.cell.ChoiceBoxTreeCell[T], T] with ItemableCell[javafx.scene.control.cell.ChoiceBoxTreeCell[T], T] with SFXDelegate[javafx.scene.control.cell.ChoiceBoxTreeCell[T]]
Wraps
ChoiceBoxTreeCell
Wraps
ChoiceBoxTreeCell
- T
Type used in this cell
-
class
ChoiceBoxTreeTableCell[S, T] extends TreeTableCell[S, T] with ConvertableCell[javafx.scene.control.cell.ChoiceBoxTreeTableCell[S, T], T, T] with UpdatableCell[javafx.scene.control.cell.ChoiceBoxTreeTableCell[S, T], T] with ItemableCell[javafx.scene.control.cell.ChoiceBoxTreeTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.ChoiceBoxTreeTableCell[S, T]]
Wraps JavaFX
ChoiceBoxTreeTableCell
Wraps JavaFX
ChoiceBoxTreeTableCell
- T
The type of the elements contained within the TreeTableColumn.
- Since
8.0
-
type
ComboBoxEditable = AnyRef { def comboBoxEditableProperty(): javafx.beans.property.BooleanProperty }
Types that contains the method
comboBoxEditableProperty(): jfxbp.BooleanProperty
-
trait
ComboBoxEditableCell[C <: javafx.scene.control.Cell[T] with ComboBoxEditable, T] extends SFXDelegate[C]
Cells which delegate contains the method
comboBoxEditableProperty(): jfxbp.BooleanProperty
.Cells which delegate contains the method
comboBoxEditableProperty(): jfxbp.BooleanProperty
.- C
Derivated type from JavaFX Cell
- T
The type of the elements contained within the inner element inside the Cell.
-
class
ComboBoxListCell[T] extends ListCell[T] with ConvertableCell[javafx.scene.control.cell.ComboBoxListCell[T], T, T] with ComboBoxEditableCell[javafx.scene.control.cell.ComboBoxListCell[T], T] with UpdatableCell[javafx.scene.control.cell.ComboBoxListCell[T], T] with ItemableCell[javafx.scene.control.cell.ComboBoxListCell[T], T] with SFXDelegate[javafx.scene.control.cell.ComboBoxListCell[T]]
Wraps
ChoiceBoxListCell
Wraps
ChoiceBoxListCell
- T
Type used in this cell
-
class
ComboBoxTableCell[S, T] extends TableCell[S, T] with ConvertableCell[javafx.scene.control.cell.ComboBoxTableCell[S, T], T, T] with ComboBoxEditableCell[javafx.scene.control.cell.ComboBoxTableCell[S, T], T] with UpdatableCell[javafx.scene.control.cell.ComboBoxTableCell[S, T], T] with ItemableCell[javafx.scene.control.cell.ComboBoxTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.ComboBoxTableCell[S, T]]
Wraps
ComboBoxTableCell
Wraps
ComboBoxTableCell
- T
Type used in this cell
-
class
ComboBoxTreeCell[T] extends TreeCell[T] with ConvertableCell[javafx.scene.control.cell.ComboBoxTreeCell[T], T, T] with ComboBoxEditableCell[javafx.scene.control.cell.ComboBoxTreeCell[T], T] with UpdatableCell[javafx.scene.control.cell.ComboBoxTreeCell[T], T] with ItemableCell[javafx.scene.control.cell.ComboBoxTreeCell[T], T] with SFXDelegate[javafx.scene.control.cell.ComboBoxTreeCell[T]]
Wraps
ComboBoxTreeCell
Wraps
ComboBoxTreeCell
- T
Type used in this cell
-
class
ComboBoxTreeTableCell[S, T] extends TreeTableCell[S, T] with ConvertableCell[javafx.scene.control.cell.ComboBoxTreeTableCell[S, T], T, T] with ComboBoxEditableCell[javafx.scene.control.cell.ComboBoxTreeTableCell[S, T], T] with UpdatableCell[javafx.scene.control.cell.ComboBoxTreeTableCell[S, T], T] with ItemableCell[javafx.scene.control.cell.ComboBoxTreeTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.ComboBoxTreeTableCell[S, T]]
Wraps
ComboBoxTreeTableCell
-
type
Convertable[J] = AnyRef { def converterProperty(): javafx.beans.property.ObjectProperty[javafx.util.StringConverter[J]] }
Types that contains the method
converterProperty(): jfxbp.ObjectProperty[jfxu.StringConverter[T]]
-
trait
ConvertableCell[C <: javafx.scene.control.Cell[T] with Convertable[J], T, J] extends SFXDelegate[C]
Cells which delegate contains the method
converterProperty(): jfxbp.ObjectProperty[jfxu.StringConverter[T]]
Cells which delegate contains the method
converterProperty(): jfxbp.ObjectProperty[jfxu.StringConverter[T]]
- C
Derivated type from JavaFX Cell
- T
The type of the elements contained within the inner element inside the Cell.
- J
Original Java type used by converter.
-
type
Itemable[T] = AnyRef { def getItems(): javafx.collections.ObservableList[T] }
Types that contains the method
getItems(): ObservableList[T]
. -
trait
ItemableCell[C <: javafx.scene.control.Cell[T] with Itemable[T], T] extends SFXDelegate[C]
javafx.scene.control.Cells that contains the method
getItems(): ObservableList[T]
.javafx.scene.control.Cells that contains the method
getItems(): ObservableList[T]
.- C
Derived type from JavaFX Cell
- T
The type of the elements contained within the inner element inside the Cell.
-
class
ProgressBarTableCell[S] extends TableCell[S, Double] with UpdatableCell[javafx.scene.control.cell.ProgressBarTableCell[S], Double] with SFXDelegate[javafx.scene.control.cell.ProgressBarTableCell[S]]
Wraps
ProgressBarTableCell
Wraps
ProgressBarTableCell
- S
Type used in this cell
-
type
StateSelectable[J] = AnyRef { def selectedStateCallbackProperty(): javafx.beans.property.ObjectProperty[javafx.util.Callback[J,javafx.beans.value.ObservableValue[Boolean]]] }
Types that contains the property
selectedStateCallback
. -
trait
StateSelectableCell[C <: javafx.scene.control.Cell[T] with StateSelectable[J], T, J] extends SFXDelegate[C]
Cells which delegate contains the property
selectedStateCallback
.Cells which delegate contains the property
selectedStateCallback
.TODO: Convert selectedStateCallback getter return type from
jfxbp.ObjectProperty[jfxu.Callback[J, javafx.beans.property.ObservableValue[java.lang.Boolean]]]
toObjectProperty[J => ObservableValue[Boolean, java.lang.Boolean]]
.- C
Derivated type from JavaFX Cell
- T
The type of the elements contained within the inner element inside the Cell.
- J
Original Java type used by converter.
-
class
TextFieldListCell[T] extends ListCell[T] with ConvertableCell[javafx.scene.control.cell.TextFieldListCell[T], T, T] with UpdatableCell[javafx.scene.control.cell.TextFieldListCell[T], T] with SFXDelegate[javafx.scene.control.cell.TextFieldListCell[T]]
Wraps
TextFieldListCell
Wraps
TextFieldListCell
- T
Type used in this cell
-
class
TextFieldTableCell[S, T] extends TableCell[S, T] with ConvertableCell[javafx.scene.control.cell.TextFieldTableCell[S, T], T, T] with UpdatableCell[javafx.scene.control.cell.TextFieldTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.TextFieldTableCell[S, T]]
Wraps
TextFieldTableCell
Wraps
TextFieldTableCell
- T
Type used in this cell
-
class
TextFieldTreeCell[T] extends TreeCell[T] with ConvertableCell[javafx.scene.control.cell.TextFieldTreeCell[T], T, T] with UpdatableCell[javafx.scene.control.cell.TextFieldTreeCell[T], T] with SFXDelegate[javafx.scene.control.cell.TextFieldTreeCell[T]]
Wraps
TextFieldTreeCell
Wraps
TextFieldTreeCell
- T
Type used in this cell
-
class
TextFieldTreeTableCell[S, T] extends TreeTableCell[S, T] with ConvertableCell[javafx.scene.control.cell.TextFieldTreeTableCell[S, T], T, T] with UpdatableCell[javafx.scene.control.cell.TextFieldTreeTableCell[S, T], T] with SFXDelegate[javafx.scene.control.cell.TextFieldTreeTableCell[S, T]]
Wraps
TextFieldTreeTableCell
Wraps
TextFieldTreeTableCell
- T
Type used in this cell
-
trait
UpdatableCell[C <: javafx.scene.control.Cell[T], T] extends SFXDelegate[C]
Cells which delegate contains the method
updateItem(item: Any, empty: Boolean): Unit
.Cells which delegate contains the method
updateItem(item: Any, empty: Boolean): Unit
.- C
Derivated type from JavaFX Cell
- T
The type of the elements contained within the inner element inside the Cell.
Value Members
- object CellIncludes extends CellIncludes
-
object
CheckBoxListCell
Companion Object for scalafx.scene.control.cell.CheckBoxListCell.
-
object
CheckBoxTableCell
Companion Object for scalafx.scene.control.cell.CheckBoxTableCell.
-
object
CheckBoxTreeCell
Companion Object for scalafx.scene.control.cell.CheckBoxTreeCell.
-
object
CheckBoxTreeTableCell
Companion Object for scalafx.scene.control.cell.CheckBoxTreeTableCell.
Companion Object for scalafx.scene.control.cell.CheckBoxTreeTableCell.
- Since
8.0
- To do
Replace all references to JavaFX TreeTableColumn to its ScalaFX counterpart when it was created
-
object
ChoiceBoxListCell
Companion Object for scalafx.scene.control.cell.ChoiceBoxListCell.
-
object
ChoiceBoxTableCell
Companion Object for scalafx.scene.control.cell.ChoiceBoxTableCell.
-
object
ChoiceBoxTreeCell
Companion Object for scalafx.scene.control.cell.ChoiceBoxTreeCell.
-
object
ChoiceBoxTreeTableCell
Companion Object for scalafx.scene.control.cell.ChoiceBoxTreeTableCell.
Companion Object for scalafx.scene.control.cell.ChoiceBoxTreeTableCell.
- Since
8.0
- To do
Replace all references to JavaFX TreeTableColumn to its ScalaFX counterpart when it was created
-
object
ComboBoxListCell
Companion Object for scalafx.scene.control.cell.ComboBoxListCell.
-
object
ComboBoxTableCell
Companion Object for scalafx.scene.control.cell.ComboBoxTableCell.
-
object
ComboBoxTreeCell
Companion Object for scalafx.scene.control.cell.ComboBoxTreeCell.
-
object
ComboBoxTreeTableCell
Companion Object for scalafx.scene.control.cell.ComboBoxTreeTableCell.
Companion Object for scalafx.scene.control.cell.ComboBoxTreeTableCell.
- Since
8.0
- To do
Replace all references to JavaFX
TreeTableColumn
to its ScalaFX counterpart when it was created
-
object
ProgressBarTableCell
Companion Object for scalafx.scene.control.cell.ProgressBarTableCell.
-
object
TextFieldListCell
Companion Object for scalafx.scene.control.cell.TextFieldListCell.
-
object
TextFieldTableCell
Companion Object for scalafx.scene.control.cell.TextFieldTableCell.
-
object
TextFieldTreeCell
Companion Object for scalafx.scene.control.cell.TextFieldTableCell.
-
object
TextFieldTreeTableCell
Companion Object for scalafx.scene.control.cell.TextFieldTreeTableCell.
ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.
Package Structure
ScalaFX package structure corresponds to JavaFX package structure, for instance
scalafx.animation
corresponds tojavafx.animation
.Example Usage
A basic ScalaFX application is created creating an object that is an instance of
JFXApp
. Following Java FX theatre metaphor, it contains astage
that contains ascene
. Astage
roughly corresponds to a window in a typical UI environment. Thescene
holds UI content presented to the user. In the example below, the content is a pane with a singlelabel
component.