scalafx.scene.control

Type members

Classlikes

object Accordion
Companion
class
object Alert
Companion
class
class Alert(val delegate: Alert) extends Dialog[ButtonType] with SFXDelegate[Alert]

The Alert class subclasses the Dialog class, and provides support for a number of pre-built dialog types that can be easily shown to users to prompt for a response.

The Alert class subclasses the Dialog class, and provides support for a number of pre-built dialog types that can be easily shown to users to prompt for a response.

Wraps a JavaFX Alert.

Example of displaying an information dialog:

 new Alert(AlertType.Information) {
       title = "Information Dialog"
       headerText = "Look, an Information Dialog"
       contentText = "I have a great message for you!"
     }.showAndWait()

A bit more elaborated example that is using a custom buttons:

val One = new ButtonType("One")
val Two = new ButtonType("Two")
val Three = new ButtonType("Three")

val alert = new Alert(AlertType.Confirmation) {
  title = "Confirmation Dialog with Custom Actions"
  headerText = "Look, a Confirmation Dialog with Custom Actions"
  contentText = "Choose your option."
  buttonTypes = Seq(One, Two, Three, ButtonType.Cancel)
}

val result = alert.showAndWait()
result match {
  case Some(One)   => println("... user chose \"One\"")
  case Some(Two)   => println("... user chose \"Two\"")
  case Some(Three) => println("... user chose \"Three\"")
  case _           => println("... user chose CANCEL or closed the dialog")
}
Companion
object
object Button
Companion
class
class Button(val delegate: Button) extends ButtonBase with SFXDelegate[Button]
Companion
object
object ButtonBar

Object companion for scalafx.scene.control.ButtonBar.

Object companion for scalafx.scene.control.ButtonBar.

Companion
class
class ButtonBar(val delegate: ButtonBar) extends Control with SFXDelegate[ButtonBar]

A ButtonBar is essentially a HBox, with the additional functionality for operating system specific button placement.

A ButtonBar is essentially a HBox, with the additional functionality for operating system specific button placement.

Wraps a JavaFX ButtonBar.

Companion
object
object ButtonBase
Companion
class
abstract class ButtonBase(val delegate: ButtonBase) extends Labeled with FireDelegate[ButtonBase] with SFXDelegate[ButtonBase]
Companion
object
object ButtonType

Object companion for scalafx.scene.control.ButtonType.

Object companion for scalafx.scene.control.ButtonType.

Companion
class
class ButtonType(val delegate: ButtonType) extends SFXDelegate[ButtonType]

The ButtonType is used to specify which buttons should be shown to users in the dialogs.

The ButtonType is used to specify which buttons should be shown to users in the dialogs.

Wraps a JavaFX ButtonType.

Companion
object
object Cell
Companion
class
class Cell[T](val delegate: Cell[T]) extends Labeled with SFXDelegate[Cell[T]]
Companion
object
object CheckBox
Companion
class
class CheckBox(val delegate: CheckBox) extends ButtonBase with SFXDelegate[CheckBox]
Companion
object
Companion
class
class CheckMenuItem(val delegate: CheckMenuItem) extends MenuItem with SFXDelegate[CheckMenuItem]

A MenuItem that can be toggled between selected and unselected states.

A MenuItem that can be toggled between selected and unselected states.

Companion
object
object ChoiceBox
Companion
class
object ChoiceDialog
Companion
class
class ChoiceDialog[T](val delegate: ChoiceDialog[T]) extends Dialog[T] with SFXDelegate[ChoiceDialog[T]]

A dialog that shows a list of choices to the user, from which they can pick one item at most.

A dialog that shows a list of choices to the user, from which they can pick one item at most.

Wraps a JavaFX https://docs.oracle.com/javase/8/javafx/api/javafx/scalafx.scene.control/ChoiceDialog.html ChoiceDialog.

Type Params
T

The type of the items to show to the user, and the type that is returned via result when the dialog is dismissed.

Constructor

Creates a default, empty instance of ChoiceDialog with no set items and a null default choice. Users of this constructor will subsequently need to call items to specify which items to show to the user.

See also

Dialog

Companion
object
object ColorPicker
Companion
class
object ComboBox
Companion
class
class ComboBox[T](val delegate: ComboBox[T]) extends ComboBoxBase[T] with SFXDelegate[ComboBox[T]]
Companion
object
object ComboBoxBase
Companion
class
abstract class ComboBoxBase[T](val delegate: ComboBoxBase[T]) extends Control with SFXDelegate[ComboBoxBase[T]]
Companion
object
sealed abstract class ContentDisplay(val delegate: ContentDisplay) extends SFXEnumDelegate[ContentDisplay]
Companion
object
object ContextMenu
Companion
class
object Control
Companion
class
abstract class Control(val delegate: Control) extends Region with Skinnable with SFXDelegate[Control]
Companion
object
Companion
class

Contains implicit methods to convert from `javafx.scene.control` classes/traits to their ScalaFX counterparts.

Contains implicit methods to convert from `javafx.scene.control` classes/traits to their ScalaFX counterparts.

Companion
object

Object companion for CustomMenuItem.

Object companion for CustomMenuItem.

Companion
class
class CustomMenuItem(val delegate: CustomMenuItem) extends MenuItem with SFXDelegate[CustomMenuItem]

A MenuItem that allows for arbitrary nodes to be embedded within it, by assigning a Node to the content property.

A MenuItem that allows for arbitrary nodes to be embedded within it, by assigning a Node to the content property.

Wraps a JavaFX CustomMenuItem.

Value Params
delegate

A JavaFX CustomMenuItem to be wrapped. Its default value is a new JavaFX CustomMenuItem.

Constructor

Creates a new CustomMenuItem from a JavaFX one.

Companion
object
trait DConvert[T, F]

Helper trait for converting dialog return type. Not intended for separate use.

Helper trait for converting dialog return type. Not intended for separate use.

Companion
object
object DConvert
Companion
class
object DateCell
Companion
class
object DatePicker
Companion
class
object Dialog

Object companion for scalafx.scene.control.Dialog.

Object companion for scalafx.scene.control.Dialog.

Companion
class
class Dialog[R](val delegate: Dialog[R]) extends EventTarget with SFXDelegate[Dialog[R]]

A Dialog wraps a DialogPane and provides the necessary API to present it to end users.

A Dialog wraps a DialogPane and provides the necessary API to present it to end users.

Wraps a JavaFX Dialog.

Type Params
R

The default return type of the dialog, via the result property or showAndWait method.

Companion
object
object DialogEvent

Object companion for scalafx.scene.control.DialogEvent.

Object companion for scalafx.scene.control.DialogEvent.

Companion
class
class DialogEvent(val delegate: DialogEvent) extends Event with SFXDelegate[DialogEvent]

Event related to dialog showing/hiding actions. Wraps a JavaFX DialogEvent.

Event related to dialog showing/hiding actions. Wraps a JavaFX DialogEvent.

Companion
object
object DialogPane

Object companion for scalafx.scene.control.DialogPane.

Object companion for scalafx.scene.control.DialogPane.

Companion
class
class DialogPane(val delegate: DialogPane) extends Pane with SFXDelegate[DialogPane]

DialogPane should be considered to be the root node displayed within a Dialog instance.

DialogPane should be considered to be the root node displayed within a Dialog instance.

Wraps a JavaFX DialogPane.

Companion
object
object FocusModel

Object companion for scalafx.scene.control.FocusModel.

Object companion for scalafx.scene.control.FocusModel.

Companion
class
abstract class FocusModel[T](val delegate: FocusModel[T]) extends SFXDelegate[FocusModel[T]]

Wraps a JavaFX FocusModel.

Wraps a JavaFX FocusModel.

Type Params
T

The type of the underlying data model for the UI control.

Value Params
delegate

JavaFX FocusModel to be wrapped.

Constructor

Creates a new ScalaFX FocusModel from its JavaFX counterpart.

Companion
object
object Hyperlink
Companion
class
class Hyperlink(val delegate: Hyperlink) extends ButtonBase with SFXDelegate[Hyperlink]
Companion
object
object IndexRange
Companion
class
class IndexRange(val delegate: IndexRange) extends SFXDelegate[IndexRange]
Companion
object
object IndexedCell
Companion
class
class IndexedCell[T](val delegate: IndexedCell[T]) extends Cell[T] with SFXDelegate[IndexedCell[T]]
Companion
object
object Label
Companion
class
class Label(val delegate: Label) extends Labeled with SFXDelegate[Label]
Companion
object
object Labeled
Companion
class
abstract class Labeled(val delegate: Labeled) extends Control with AlignmentDelegate[Labeled] with SFXDelegate[Labeled]
Companion
object
object ListCell
Companion
class
class ListCell[T](val delegate: ListCell[T]) extends IndexedCell[T] with SFXDelegate[ListCell[T]]
Companion
object
object ListView
Companion
class
class ListView[T](val delegate: ListView[T]) extends Control with SFXDelegate[ListView[T]]
Constructor

Creates a default ListView which will display contents stacked vertically.

Companion
object
object Menu
Companion
class
object MenuBar
Companion
class
class MenuBar(val delegate: MenuBar) extends Control with SFXDelegate[MenuBar]
Companion
object
object MenuButton
Companion
class
object MenuItem
Companion
class
class MenuItem(val delegate: MenuItem) extends EventTarget with Styleable with EventHandlerDelegate1 with FireDelegate[MenuItem] with SFXDelegate[MenuItem]
Companion
object
abstract class MultipleSelectionModel[T](val delegate: MultipleSelectionModel[T]) extends SelectionModel[T] with SFXDelegate[MultipleSelectionModel[T]]
Companion
object
sealed abstract class OverrunStyle(val delegate: OverrunStyle) extends SFXEnumDelegate[OverrunStyle]
Companion
object
object Pagination
Companion
class
Companion
class
class PasswordField(val delegate: PasswordField) extends TextField with SFXDelegate[PasswordField]
Companion
object
object PopupControl

Object companion for scalafx.scene.control.PopupControl.

Object companion for scalafx.scene.control.PopupControl.

Companion
class
class PopupControl(val delegate: PopupControl) extends PopupWindow with Styleable with Skinnable with SFXDelegate[PopupControl]

Wraps a JavaFX PopupControl.

Wraps a JavaFX PopupControl.

Value Params
delegate

JavaFX PopupControl to be wrapped. It defaul value is a new JavaFX PopupControl

Constructor

Creates a new ScalaFX PopupControl from its JavaFX counterpart.

Companion
object
object ProgressBar
Companion
class
class ProgressBar(val delegate: ProgressBar) extends ProgressIndicator with SFXDelegate[ProgressBar]
Companion
object
Companion
class
object RadioButton
Companion
class
class RadioButton(val delegate: RadioButton) extends ToggleButton with SFXDelegate[RadioButton]
Companion
object
Companion
class
class RadioMenuItem(val delegate: RadioMenuItem) extends MenuItem with Toggle with SFXDelegate[RadioMenuItem]
Since

8.0

Companion
class
class ResizeFeaturesBase[S](val delegate: ResizeFeaturesBase[S]) extends SFXDelegate[ResizeFeaturesBase[S]]

Wraps JavaFX ResizeFeaturesBase.

Wraps JavaFX ResizeFeaturesBase.

Type Params
S

The type of the UI control (e.g. the type of the 'row').

Value Params
delegate

JavaFX ResizeFeaturesBase to be wrapped.

Constructor

Creates a new ScalaFX ResizeFeaturesBase from a JavaFX ResizeFeaturesBase.

Since

8.0

Companion
object
object ScrollBar
Companion
class
object ScrollPane
Companion
class
class ScrollPane(val delegate: ScrollPane) extends Control with SFXDelegate[ScrollPane]
Companion
object
Companion
class
class ScrollToEvent[T](val delegate: ScrollToEvent[T]) extends Event with SFXDelegate[ScrollToEvent[T]]

Wraps JavaFX ScrollToEvent.

Wraps JavaFX ScrollToEvent.

Type Params
T

scroll target type

Value Params
delegate

JavaFX ScrollToEvent

Constructor

Creates a new ScrollToEvent from its JavaFX counterpart.

Companion
object
sealed abstract class SelectionMode(val delegate: SelectionMode) extends SFXEnumDelegate[SelectionMode]
Companion
object
Companion
class
abstract class SelectionModel[T](val delegate: SelectionModel[T]) extends SFXDelegate[SelectionModel[T]]
Companion
object
object Separator
Companion
class
class Separator(val delegate: Separator) extends Control with SFXDelegate[Separator]
Companion
object
class SeparatorMenuItem(val delegate: SeparatorMenuItem) extends CustomMenuItem with SFXDelegate[SeparatorMenuItem]

A MenuItem that as the name suggests allows for a horizontal Separator to be embedded within it, by assigning a Separator to the content property of the CustomMenuItem.

A MenuItem that as the name suggests allows for a horizontal Separator to be embedded within it, by assigning a Separator to the content property of the CustomMenuItem.

Wraps a JavaFX SeparatorMenuItem.

Value Params
delegate

A JavaFX SeparatorMenuItem to be wrapped. Its default value is a new JavaFX SeparatorMenuItem.

Constructor

Creates a new SeparatorMenuItem from a JavaFX one.

Companion
object
Companion
class
abstract class SingleSelectionModel[T](val delegate: SingleSelectionModel[T]) extends SelectionModel[T] with SFXDelegate[SingleSelectionModel[T]]
Companion
object
object Skin
Companion
class
trait Skin[C <: Skinnable] extends SFXDelegate[Skin[C]]
Companion
object
object SkinBase
Companion
class
object Skinnable
Companion
class
trait Skinnable extends SFXDelegate[Skinnable]
Companion
object
object Slider
Companion
class
class Slider(val delegate: Slider) extends Control with SFXDelegate[Slider]
Companion
object
object SortEvent

Object Companion for scalafx.scene.control.SortEvent

Object Companion for scalafx.scene.control.SortEvent

Since

8.0

Companion
class
class SortEvent[C](val delegate: SortEvent[C]) extends Event with SFXDelegate[SortEvent[C]]

Wraps a JavaFX SortEvent.

Wraps a JavaFX SortEvent.

Type Params
C

Event Type

Value Params
delegate

JavaFX SortEvent to be wrapped.

Constructor

Creates a new ScalaFX SortEvent from a JavaFX one.

Since

8.0

Companion
object
object Spinner
Companion
class
class Spinner[T](val delegate: Spinner[T]) extends Control with SFXDelegate[Spinner[T]]

A single line text field that lets the user select a number or an object value from an ordered sequence.

A single line text field that lets the user select a number or an object value from an ordered sequence.

Wraps a $JFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Spinner.html.

Type Params
T

The type of all values that can be iterated through in the Spinner. Common types include Integer and String.

Value Params
delegate

A JavaFX Spinner to be wrapped. Its default value is a new JavaFX Spinner.

Constructor

Constructs a default Spinner instance, with the default 'spinner' style class and a non-editable editor.

Companion
object
Companion
class
abstract class SpinnerValueFactory[T](val delegate: SpinnerValueFactory[T]) extends SFXDelegate[SpinnerValueFactory[T]]

The SpinnerValueFactory is the model behind the Spinner control - without a value factory installed a Spinner is unusable.

The SpinnerValueFactory is the model behind the Spinner control - without a value factory installed a Spinner is unusable.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/SpinnerValueFactory.html.

Type Params
T

The type of the data this value factory deals with, which must coincide with the type of the Spinner that the value factory is set on.

Value Params
delegate

A JavaFX SpinnerValueFactory to be wrapped. Its default value is a new JavaFX SpinnerValueFactory.

Companion
object
Companion
class
class SplitMenuButton(val delegate: SplitMenuButton) extends MenuButton with SFXDelegate[SplitMenuButton]

Wrapper for javafx.scene.control.SplitMenuButton.

Wrapper for javafx.scene.control.SplitMenuButton.

Companion
object
object SplitPane
Companion
class
class SplitPane(val delegate: SplitPane) extends Control with SFXDelegate[SplitPane]
Companion
object
object Tab
Companion
class
class Tab(val delegate: Tab) extends Styleable with SFXDelegate[Tab]
Companion
object
object TabPane
Companion
class
class TabPane(val delegate: TabPane) extends Control with SFXDelegate[TabPane]
Companion
object
object TableCell
Companion
class
object TableColumn
Companion
class
Companion
class
Since

8.0

Companion
class
abstract class TableFocusModel[T, TC <: TableColumnBase[T, _]](val delegate: TableFocusModel[T, TC]) extends FocusModel[T] with SFXDelegate[TableFocusModel[T, TC]]

Wraps a JavaFX TableFocusModel.

Wraps a JavaFX TableFocusModel.

Type Params
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 Params
delegate

JavaFX TableFocusModel to be wrapped.

Constructor

Creates a new ScalaFX TableFocusModel from its JavaFX counterpart.

Since

8.0

Companion
object
Companion
class
class TablePosition[S, T](val delegate: TablePosition[S, T]) extends TablePositionBase[TableColumn[S, T]] with SFXDelegate[TablePosition[S, T]]
Type Params
S

The type of the items contained within the TableView (i.e. the same generic type as the S in TableView).

T

The type of the items contained within the TableColumn.

Value Params
JavaFX

TablePositionBase to be wrapped

Constructor

creates a new ScalaFX TablePosition from a JavaFX one.

Companion
object
Since

8.0

Companion
class
abstract class TablePositionBase[TC <: TableColumnBase[_, _]](val delegate: TablePositionBase[TC]) extends SFXDelegate[TablePositionBase[TC]]
Type Params
TC

A JavaFX TableColumnBase subclass

Value Params
delegate

JavaFX TablePositionBase

Constructor

creates a new ScalaFX TablePositionBase from a JavaFX one.

Since

8.0

Companion
object
object TableRow
Companion
class
Since

8.0

Companion
class
class TableSelectionModel[T](val delegate: TableSelectionModel[T]) extends MultipleSelectionModel[T] with SFXDelegate[TableSelectionModel[T]]

Wraps JavaFX TableSelectionModel.

Wraps JavaFX TableSelectionModel.

Type Params
T

The type of the underlying data model for the UI control.

Value Params
delegate

JavaFX TableSelectionModel

Constructor

creates a new ScalaFX TableSelectionModel from a JavaFX one.

Since

8.0

Companion
object
object TableView

Object companion for scalafx.scene.controlTableView.

Object companion for scalafx.scene.controlTableView.

Companion
class
class TableView[S](val delegate: TableView[S]) extends Control with SFXDelegate[TableView[S]]

Wraps JavaFX TableView.

Wraps JavaFX TableView.

Type Params
S

The type of the objects contained within the TableView items list.

Value Params
delegate

JavaFX TableView to be wrapped. Its default value is a new JavaFX TableView.

Constructor

Creates a new ScalaFX TableView Wrapping a JavaFX TableView.

Companion
object
object TextArea
Companion
class
class TextArea(val delegate: TextArea) extends TextInputControl with SFXDelegate[TextArea]
Companion
object
object TextField
Companion
class
class TextField(val delegate: TextField) extends TextInputControl with AlignmentDelegate[TextField] with SFXDelegate[TextField]
Companion
object
Companion
class
class TextFormatter[V](val delegate: TextFormatter[V]) extends SFXDelegate[TextFormatter[V]]

A Formatter describes a format of a TextInputControl text.

A Formatter describes a format of a TextInputControl text.

Wraps a JavaFX TextFormatter.

Companion
object
Companion
class
abstract class TextInputControl(val delegate: TextInputControl) extends Control with SFXDelegate[TextInputControl]
Companion
object
Companion
class
class TextInputDialog(val delegate: TextInputDialog) extends Dialog[String] with SFXDelegate[TextInputDialog]

A dialog that shows a text input control to the user.

A dialog that shows a text input control to the user.

Wraps a JavaFX TextInputDialog.

Constructor

Creates a new TextInputDialog without a default value entered into the dialog.

Companion
object
object TitledPane
Companion
class
class TitledPane(val delegate: TitledPane) extends Labeled with SFXDelegate[TitledPane]
Companion
object
object Toggle
Companion
class
trait Toggle extends SFXDelegate[Toggle]

Wrapper trait to Toggle interface.

Wrapper trait to Toggle interface.

Companion
object
object ToggleButton
Companion
class
class ToggleButton(val delegate: ToggleButton) extends ButtonBase with Toggle with SFXDelegate[ToggleButton]
Companion
object
object ToggleGroup
Companion
class
object ToolBar
Companion
class
object Tooltip

Object companion for scalafx.scene.control.PopupControl.

Object companion for scalafx.scene.control.PopupControl.

Companion
class
class Tooltip(val delegate: Tooltip) extends PopupControl with SFXDelegate[Tooltip]

Wraps a JavaFX Tooltip.

Wraps a JavaFX Tooltip.

Value Params
delegate

JavaFX Tooltip to be wrapped. It defaul value is a new JavaFX Tooltip with no text.

Constructor

Creates a new ScalaFX Tooltip from its JavaFX counterpart.

Companion
object
object TreeCell
Companion
class
class TreeCell[T](val delegate: TreeCell[T]) extends IndexedCell[T] with SFXDelegate[TreeCell[T]]
object TreeItem
Companion
class
class TreeItem[T](val delegate: TreeItem[T]) extends EventHandlerDelegate1 with SFXDelegate[TreeItem[T]]
sealed abstract class TreeSortMode(val delegate: TreeSortMode) extends SFXEnumDelegate[TreeSortMode]

Wraps JavaFX TreeSortMode.

Wraps JavaFX TreeSortMode.

Value Params
delegate

JavaFX TreeSortMode

Constructor

Creates a new TreeSortMode from a JavaFX one.

Since

8.0

Companion
object

Object Companion for scalafx.scene.control.SortEvent

Object Companion for scalafx.scene.control.SortEvent

Since

8.0

Companion
class
class TreeTableCell[S, T](val delegate: TreeTableCell[S, T]) extends IndexedCell[T] with SFXDelegate[TreeTableCell[S, T]]

Wraps a JavaFX TreeTableCell.

Wraps a JavaFX TreeTableCell.

Type Params
S

The type of the item contained within the Cell.

T

The type of the item contained within the Cell.

Value Params
delegate

A JavaFX TreeTableCell to be wrapped. Its defaul value is a new JavaFX TreeTableCell.

Constructor

Creates a new TreeTableCell from a JavaFX one.

Since

8.0

Companion
object
class TreeTableColumn[S, T](val delegate: TreeTableColumn[S, T]) extends TableColumnBase[TreeItem[S], T] with SFXDelegate[TreeTableColumn[S, T]]
Type Params
S

The type of the TreeTableView generic type (i.e. S == TreeTableView)

T

The type of the content in all cells in this TreeTableColumn.

Value Params
delegate

A JavaFX TreeTableColumn to be wrapped. Its default value is a new JavaFX TreeTableColumn.

Constructor

Creates a new TreeTableColumn from a JavaFX one.

Since

8.0

Companion
object
Since

8.0

Companion
class
class TreeTablePosition[S, T](val delegate: TreeTablePosition[S, T]) extends TablePositionBase[TreeTableColumn[S, T]] with SFXDelegate[TreeTablePosition[S, T]]

Wraps a JavaFX TreeTablePosition.

Wraps a JavaFX TreeTablePosition.

Type Params
S

The type of the TreeItem instances contained within the TreeTableView.

T

The type of the items contained within the TreeTableColumn.

Value Params
delegate

A JavaFX TreeTablePosition to be wrapped. Its defaul value is a new JavaFX TreeTablePosition.

Constructor

Creates a new TreeTablePosition from a JavaFX one.

Since

8.0

Companion
object
object TreeTableRow

Object companion for scalafx.scene.control.TreeTableRow.

Object companion for scalafx.scene.control.TreeTableRow.

Since

8.0

Companion
class
class TreeTableRow[T](val delegate: TreeTableRow[T]) extends IndexedCell[T] with SFXDelegate[TreeTableRow[T]]

Wraps a JavaFX TreeTableRow.

Wraps a JavaFX TreeTableRow.

Type Params
T

The type of the item contained within the Cell.

Value Params
delegate

A JavaFX TreeTableRow to be wrapped. Its defaul value is a new JavaFX TreeTableRow.

Constructor

Creates a new TreeTableRow from a JavaFX one.

Since

8.0

Companion
object
Companion
class
class TreeTableView[S](val delegate: TreeTableView[S]) extends Control with SFXDelegate[TreeTableView[S]]

The TreeTableView control is designed to visualize an unlimited number of rows of data, broken out into columns. The TreeTableView control is conceptually very similar to the TreeView and TableView controls, and as you read on you'll come to see the APIs are largely the same. However, to give a high-level overview, you'll note that the TreeTableView uses the same TreeItem API as TreeView, and that you therefore are required to simply set the root node in the TreeTableView. Similarly, the TreeTableView control makes use of the same TableColumn-based approach that the TableView control uses, except instead of using the TableView-specific TableColumn class, you should instead use the TreeTableView-specific TreeTableColumn class instead.

The TreeTableView control is designed to visualize an unlimited number of rows of data, broken out into columns. The TreeTableView control is conceptually very similar to the TreeView and TableView controls, and as you read on you'll come to see the APIs are largely the same. However, to give a high-level overview, you'll note that the TreeTableView uses the same TreeItem API as TreeView, and that you therefore are required to simply set the root node in the TreeTableView. Similarly, the TreeTableView control makes use of the same TableColumn-based approach that the TableView control uses, except instead of using the TableView-specific TableColumn class, you should instead use the TreeTableView-specific TreeTableColumn class instead.

Wraps a JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TreeTableView.TreeTableView.html

Type Params
S

The type of the TreeItem instances used in this TreeTableView.

Value Params
delegate

A JavaFX TreeTableView to be wrapped. Its default value is a new JavaFX TreeTableView.

Constructor

Creates a new TreeTableView from a JavaFX one.

Since

8.0

Companion
object
object TreeView
Companion
class
class TreeView[T](val delegate: TreeView[T]) extends Control with SFXDelegate[TreeView[T]]
Companion
object

Deprecated classlikes

@deprecated("Use of TextFieldProperty can result in infinite recursion and StackOverflow errors. See discussion of [Issue #69](https://github.com/scalafx/scalafx/issues/69)", "8.0.60-R10")
Companion
class
Deprecated
@deprecated("Use of TextFieldProperty can result in infinite recursion and StackOverflow errors. See discussion of [Issue #69](https://github.com/scalafx/scalafx/issues/69)", "8.0.60-R10")
class TextFieldProperty(val delegate: ReadOnlyObjectProperty[TextField]) extends ReadOnlyObjectProperty[TextField] with SFXDelegate[ReadOnlyObjectProperty[TextField]] with AlignmentPropertyDelegate
Companion
object
Deprecated