trait CellIncludes extends AnyRef
Contains implcit methods to convert from
javafx.scene.control.cell
Classes/Traits to their ScalaFX counterparts.
- Source
- CellIncludes.scala
- Alphabetic
- By Inheritance
- CellIncludes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def jfxCheckBoxListCell2sfx[T](cell: javafx.scene.control.cell.CheckBoxListCell[T]): CheckBoxListCell[T]
Converts a JavaFX
CheckBoxListCell
instance to its ScalaFX counterpart.Converts a JavaFX
CheckBoxListCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX CheckBoxListCell
- returns
ScalaFX CheckBoxListCell
- implicit def jfxCheckBoxTableCell2sfx[S, T](cell: javafx.scene.control.cell.CheckBoxTableCell[S, T]): CheckBoxTableCell[S, T]
Converts a JavaFX
CheckBoxTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
CheckBoxTableCell
instance to its ScalaFX counterpart.- S
The type of the elements contained ...
- T
The type of the elements contained within the Element
- cell
JavaFX CheckBoxTableCell
- returns
ScalaFX CheckBoxTableCell
- implicit def jfxCheckBoxTreeCell2sfx[T](cell: javafx.scene.control.cell.CheckBoxTreeCell[T]): CheckBoxTreeCell[T]
Converts a JavaFX
CheckBoxTreeCell
instance to its ScalaFX counterpart.Converts a JavaFX
CheckBoxTreeCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX CheckBoxTreeCell
- returns
ScalaFX CheckBoxTreeCell
- implicit def jfxCheckBoxTreeTableCell2sfx[S, T](cell: javafx.scene.control.cell.CheckBoxTreeTableCell[S, T]): CheckBoxTreeTableCell[S, T]
Converts a JavaFX
CheckBoxTreeTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
CheckBoxTreeTableCell
instance to its ScalaFX counterpart.- S
The type of the elements contained ...
- T
The type of the elements contained within the Element
- cell
JavaFX CheckBoxTreeTableCell
- returns
ScalaFX CheckBoxTreeTableCell
- implicit def jfxChoiceBoxListCell2sfx[T](cell: javafx.scene.control.cell.ChoiceBoxListCell[T]): ChoiceBoxListCell[T]
Converts a JavaFX
ChoiceBoxListCell
instance to its ScalaFX counterpart.Converts a JavaFX
ChoiceBoxListCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX ChoiceBoxListCell
- returns
ScalaFX ChoiceBoxListCell
- implicit def jfxChoiceBoxTableCell2sfx[S, T](cell: javafx.scene.control.cell.ChoiceBoxTableCell[S, T]): ChoiceBoxTableCell[S, T]
Converts a JavaFX
ChoiceBoxTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
ChoiceBoxTableCell
instance to its ScalaFX counterpart.- S
The type of the elements contained ...
- T
The type of the elements contained within the Element
- cell
JavaFX ChoiceBoxTableCell
- returns
ScalaFX ChoiceBoxTableCell
- implicit def jfxChoiceBoxTreeCell2sfx[T](cell: javafx.scene.control.cell.ChoiceBoxTreeCell[T]): ChoiceBoxTreeCell[T]
Converts a JavaFX
ChoiceBoxTreeCell
instance to its ScalaFX counterpart.Converts a JavaFX
ChoiceBoxTreeCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX ChoiceBoxTreeCell
- returns
ScalaFX ChoiceBoxTreeCell
- implicit def jfxChoiceBoxTreeTableCell2sfx[S, T](cell: javafx.scene.control.cell.ChoiceBoxTreeTableCell[S, T]): ChoiceBoxTreeTableCell[S, T]
Converts a JavaFX
ChoiceBoxTreeTreeCell
instance to its ScalaFX counterpart.Converts a JavaFX
ChoiceBoxTreeTreeCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX ChoiceBoxTreeTreeCell
- returns
ScalaFX ChoiceBoxTreeTreeCell
- implicit def jfxComboBoxListCell2sfx[T](cell: javafx.scene.control.cell.ComboBoxListCell[T]): ComboBoxListCell[T]
Converts a JavaFX
ComboBoxListCell
instance to its ScalaFX counterpart.Converts a JavaFX
ComboBoxListCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX ComboBoxListCell
- returns
ScalaFX ComboBoxListCell
- implicit def jfxComboBoxTableCell2sfx[S, T](cell: javafx.scene.control.cell.ComboBoxTableCell[S, T]): ComboBoxTableCell[S, T]
Converts a JavaFX
ComboBoxTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
ComboBoxTableCell
instance to its ScalaFX counterpart.- S
The type of the elements contained ...
- T
The type of the elements contained within the Element
- cell
JavaFX ComboBoxTableCell
- returns
ScalaFX ComboBoxTableCell
- implicit def jfxComboBoxTreeCell2sfx[T](cell: javafx.scene.control.cell.ComboBoxTreeCell[T]): ComboBoxTreeCell[T]
Converts a JavaFX
ComboBoxTreeCell
instance to its ScalaFX counterpart.Converts a JavaFX
ComboBoxTreeCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX ComboBoxTreeCell
- returns
ScalaFX ComboBoxTreeCell
- implicit def jfxComboBoxTreeTableCell2sfx[S, T](cell: javafx.scene.control.cell.ComboBoxTreeTableCell[S, T]): ComboBoxTreeTableCell[S, T]
Converts a JavaFX
ComboBoxTreeCell
instance to its ScalaFX counterpart.Converts a JavaFX
ComboBoxTreeCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX ComboBoxTreeCell
- returns
ScalaFX ComboBoxTreeCell
- implicit def jfxProgressBarTableCell2sfx[S](cell: javafx.scene.control.cell.ProgressBarTableCell[S]): ProgressBarTableCell[S]
Converts a JavaFX
ProgressBarTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
ProgressBarTableCell
instance to its ScalaFX counterpart.- S
The type of the elements contained ...
- cell
JavaFX ProgressBarTableCell
- returns
ScalaFX ProgressBarTableCell
- implicit def jfxTextFieldListCell2sfx[T](cell: javafx.scene.control.cell.TextFieldListCell[T]): TextFieldListCell[T]
Converts a JavaFX
TextFieldListCell
instance to its ScalaFX counterpart.Converts a JavaFX
TextFieldListCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX TextFieldListCell
- returns
ScalaFX TextFieldListCell
- implicit def jfxTextFieldTableCell2sfx[S, T](cell: javafx.scene.control.cell.TextFieldTableCell[S, T]): TextFieldTableCell[S, T]
Converts a JavaFX
TextFieldTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
TextFieldTableCell
instance to its ScalaFX counterpart.- S
The type of the elements contained ...
- T
The type of the elements contained within the Element
- cell
JavaFX TextFieldTableCell
- returns
ScalaFX TextFieldTableCell
- implicit def jfxTextFieldTreeCell2sfx[T](cell: javafx.scene.control.cell.TextFieldTreeCell[T]): TextFieldTreeCell[T]
Converts a JavaFX
TextFieldTreeCell
instance to its ScalaFX counterpart.Converts a JavaFX
TextFieldTreeCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX TextFieldTreeCell
- returns
ScalaFX TextFieldTreeCell
- implicit def jfxTextFieldTreeTableCell2sfx[S, T](cell: javafx.scene.control.cell.TextFieldTreeTableCell[S, T]): TextFieldTreeTableCell[S, T]
Converts a JavaFX
TextFieldTreeTableCell
instance to its ScalaFX counterpart.Converts a JavaFX
TextFieldTreeTableCell
instance to its ScalaFX counterpart.- T
The type of the elements contained within the Element
- cell
JavaFX TextFieldTreeTableCell
- returns
ScalaFX TextFieldTreeTableCell
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
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.