scalafx.scene.control

Wraps `javafx.scene.control` package.

Attributes

Members list

Packages

Type members

Classlikes

object Accordion

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Accordion.type
class Accordion(val delegate: Accordion) extends Control, SFXDelegate[Accordion]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Accordion]
class Object
trait Matchable
class Any
Show all
object Alert

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Alert.type
class Alert(val delegate: Alert) extends Dialog[ButtonType], 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 $TC.

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")
}

Attributes

Companion
object
Supertypes
class Dialog[ButtonType]
class EventTarget
trait SFXDelegate[Alert]
class Object
trait Matchable
class Any
Show all
object Button

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Button.type
class Button(val delegate: Button) extends ButtonBase, SFXDelegate[Button]

Attributes

Companion
object
Supertypes
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Button]
class Object
trait Matchable
class Any
Show all
object ButtonBar

Object companion for scalafx.scene.control.ButtonBar.

Object companion for scalafx.scene.control.ButtonBar.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ButtonBar.type
class ButtonBar(val delegate: ButtonBar) extends Control, 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 $TC.

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ButtonBar]
class Object
trait Matchable
class Any
Show all
object ButtonBase

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ButtonBase.type
abstract class ButtonBase(val delegate: ButtonBase) extends Labeled, FireDelegate[ButtonBase], SFXDelegate[ButtonBase]

Attributes

Companion
object
Supertypes
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ButtonBase]
class Object
trait Matchable
class Any
Show all
Known subtypes
class Button
class CheckBox
class Hyperlink
class MenuButton
class ToggleButton
class RadioButton
Show all
object ButtonType

Object companion for scalafx.scene.control.ButtonType.

Object companion for scalafx.scene.control.ButtonType.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ButtonType.type
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 $JFX $URL0 $TC]].

Attributes

Companion
object
Supertypes
trait SFXDelegate[ButtonType]
class Object
trait Matchable
class Any
object Cell

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Cell.type
class Cell[T](val delegate: Cell[T]) extends Labeled, SFXDelegate[Cell[T]]

Attributes

Companion
object
Supertypes
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Cell[T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
class DateCell
class IndexedCell[T]
class ListCell[T]
class CheckBoxListCell[T]
class ComboBoxListCell[T]
class TableCell[S, T]
class CheckBoxTableCell[S, T]
class ChoiceBoxTableCell[S, T]
class ComboBoxTableCell[S, T]
class TextFieldTableCell[S, T]
class TableRow[T]
class TreeCell[T]
class CheckBoxTreeCell[T]
class ComboBoxTreeCell[T]
class TreeTableCell[S, T]
class CheckBoxTreeTableCell[S, T]
class ComboBoxTreeTableCell[S, T]
class TreeTableRow[T]
Show all
object CheckBox

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
CheckBox.type
class CheckBox(val delegate: CheckBox) extends ButtonBase, SFXDelegate[CheckBox]

Attributes

Companion
object
Supertypes
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[CheckBox]
class Object
trait Matchable
class Any
Show all
object CheckMenuItem

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class CheckMenuItem(val delegate: CheckMenuItem) extends MenuItem, SFXDelegate[CheckMenuItem]

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

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

Attributes

Companion
object
Supertypes
class MenuItem
trait FireDelegate[MenuItem]
trait Styleable
class EventTarget
trait SFXDelegate[CheckMenuItem]
class Object
trait Matchable
class Any
Show all
object ChoiceBox

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ChoiceBox.type
class ChoiceBox[J](val delegate: ChoiceBox[J]) extends Control, SFXDelegate[ChoiceBox[J]]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ChoiceBox[J]]
class Object
trait Matchable
class Any
Show all
object ChoiceDialog

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ChoiceDialog[T](val delegate: ChoiceDialog[T]) extends Dialog[T], 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 [[ Dialog.

Type parameters

T

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

Attributes

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
Supertypes
class Dialog[T]
class EventTarget
trait SFXDelegate[ChoiceDialog[T]]
class Object
trait Matchable
class Any
Show all
object ColorPicker

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ColorPicker(val delegate: ColorPicker) extends ComboBoxBase[Color], SFXDelegate[ColorPicker]

Attributes

Companion
object
Supertypes
class ComboBoxBase[Color]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ColorPicker]
class Object
trait Matchable
class Any
Show all
object ComboBox

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ComboBox.type
class ComboBox[T](val delegate: ComboBox[T]) extends ComboBoxBase[T], SFXDelegate[ComboBox[T]]

Wraps JavaFX ComboBox, an implementation of the ComboBoxBase abstract class for the most common form of ComboBox, where a popup list is shown to users providing them with a choice that they may select from.

Wraps JavaFX ComboBox, an implementation of the ComboBoxBase abstract class for the most common form of ComboBox, where a popup list is shown to users providing them with a choice that they may select from.

On top of ComboBoxBase, the ComboBox class introduces additional API. Most importantly, it adds an items property that works in much the same way as the ListView items property. In other words, it is the content of the items list that is displayed to users when they click on the ComboBox button.

It is not recommended to add Nodes as ComboBox items. ScalaFX provides for a convenient customization of a ComboBox content. Required Node or other customization is add ed through cell factory. Following code will show colored Rectangle representing item's Color

 val comboBox = new ComboBox[Color] {
   items = Seq(Color.Red, Color.Green, Color.Blue)
   // Custom factory displaying list items are colored rectangles
   // `color` is the value of the item displayed
   cellFactory = (cell, color) => {
     cell.contentDisplay = ContentDisplay.GraphicOnly
     cell.graphic = Rectangle(10, 10, color)
   }
 }

Type parameters

T

The type of the value that has been selected or otherwise entered in to this ComboBox

Value parameters

delegate

the wrapped JavaFX class.

Attributes

Companion
object
Supertypes
class ComboBoxBase[T]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ComboBox[T]]
class Object
trait Matchable
class Any
Show all
object ComboBoxBase

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class ComboBoxBase[T](val delegate: ComboBoxBase[T]) extends Control, SFXDelegate[ComboBoxBase[T]]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ComboBoxBase[T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ColorPicker
class ComboBox[T]
class DatePicker
object ContentDisplay extends SFXEnumDelegateCompanion[ContentDisplay, ContentDisplay]

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait SFXEnumDelegateCompanion[ContentDisplay, ContentDisplay]
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class ContentDisplay(val delegate: ContentDisplay) extends SFXEnumDelegate[ContentDisplay]

Attributes

Companion
object
Supertypes
trait SFXEnumDelegate[ContentDisplay]
trait SFXDelegate[ContentDisplay]
class Object
trait Matchable
class Any
Known subtypes
object Bottom.type
object Center.type
object GraphicOnly.type
object Left.type
object Right.type
object TextOnly.type
object Top.type
Show all
object ContextMenu

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ContextMenu(val delegate: ContextMenu) extends PopupControl, SFXDelegate[ContextMenu]

Attributes

Companion
object
Supertypes
class PopupControl
trait Skinnable
trait Styleable
class PopupWindow
class Window
class EventTarget
trait SFXDelegate[ContextMenu]
class Object
trait Matchable
class Any
Show all
object Control

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Control.type
abstract class Control(val delegate: Control) extends Region, Skinnable, SFXDelegate[Control]

Attributes

Companion
object
Supertypes
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Control]
class Object
trait Matchable
class Any
Show all
Known subtypes
class Accordion
class ButtonBar
class ChoiceBox[J]
class ComboBoxBase[T]
class ColorPicker
class ComboBox[T]
class DatePicker
class Labeled
class ButtonBase
class Button
class CheckBox
class Hyperlink
class MenuButton
class ToggleButton
class RadioButton
class Cell[T]
class DateCell
class IndexedCell[T]
class ListCell[T]
class CheckBoxListCell[T]
class ComboBoxListCell[T]
class TableCell[S, T]
class CheckBoxTableCell[S, T]
class ChoiceBoxTableCell[S, T]
class ComboBoxTableCell[S, T]
class TextFieldTableCell[S, T]
class TableRow[T]
class TreeCell[T]
class CheckBoxTreeCell[T]
class ComboBoxTreeCell[T]
class TreeTableCell[S, T]
class CheckBoxTreeTableCell[S, T]
class ComboBoxTreeTableCell[S, T]
class TreeTableRow[T]
class Label
class TitledPane
class ListView[T]
class MenuBar
class Pagination
class ProgressBar
class ScrollBar
class ScrollPane
class Separator
class Slider
class Spinner[T]
class SplitPane
class TabPane
class TableView[S]
class TextArea
class TextField
class ToolBar
class TreeTableView[S]
class TreeView[T]
class HTMLEditor
Show all

Attributes

Companion
trait
Supertypes
trait CellIncludes
class Object
trait Matchable
class Any
Self type

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.

Attributes

Companion
object
Supertypes
trait CellIncludes
class Object
trait Matchable
class Any
Known subtypes
object ControlIncludes.type
object SceneIncludes.type
trait Includes
object Includes.type

Object companion for CustomMenuItem.

Object companion for CustomMenuItem.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class CustomMenuItem(val delegate: CustomMenuItem) extends MenuItem, 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 EventTarget.

Value parameters

delegate

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

Attributes

Constructor

Creates a new EventTarget from a JavaFX one.

Companion
object
Supertypes
class MenuItem
trait FireDelegate[MenuItem]
trait Styleable
class EventTarget
trait SFXDelegate[CustomMenuItem]
class Object
trait Matchable
class Any
Show all
Known subtypes
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.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object DConvert

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
DConvert.type
object DateCell

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
DateCell.type
class DateCell(val delegate: DateCell) extends Cell[LocalDate], SFXDelegate[DateCell]

Attributes

Companion
object
Supertypes
class Cell[LocalDate]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[DateCell]
class Object
trait Matchable
class Any
Show all
object DatePicker

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
DatePicker.type
class DatePicker(val delegate: DatePicker) extends ComboBoxBase[LocalDate], SFXDelegate[DatePicker]

The DatePicker control allows the user to enter a date as text or to select a date from a calendar popup. The calendar is based on either the standard ISO-8601 chronology or any of the other chronology classes defined in the java.time.chrono package.

The DatePicker control allows the user to enter a date as text or to select a date from a calendar popup. The calendar is based on either the standard ISO-8601 chronology or any of the other chronology classes defined in the java.time.chrono package.

Wraps https://openjfx.io/javadoc/16/javafx.controls/javafx/scene/control/DatePicker.html.

Attributes

Companion
object
Supertypes
class ComboBoxBase[LocalDate]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[DatePicker]
class Object
trait Matchable
class Any
Show all
object Dialog

Object companion for scalafx.scene.control.Dialog.

Object companion for scalafx.scene.control.Dialog.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Dialog.type
class Dialog[R](val delegate: Dialog[R]) extends EventTarget, 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 parameters

R

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

Attributes

Companion
object
Supertypes
class EventTarget
trait SFXDelegate[Dialog[R]]
class Object
trait Matchable
class Any
Known subtypes
class Alert
class ChoiceDialog[T]
object DialogEvent

Object companion for scalafx.scene.control.DialogEvent.

Object companion for scalafx.scene.control.DialogEvent.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class DialogEvent(val delegate: DialogEvent) extends Event, SFXDelegate[DialogEvent]

Event related to dialog showing/hiding actions. Wraps a $JFX $URL0 $TC]].

Event related to dialog showing/hiding actions. Wraps a $JFX $URL0 $TC]].

Attributes

Companion
object
Supertypes
class Event
trait SFXDelegate[DialogEvent]
class Object
trait Matchable
class Any
object DialogPane

Object companion for scalafx.scene.control.DialogPane.

Object companion for scalafx.scene.control.DialogPane.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
DialogPane.type
class DialogPane(val delegate: DialogPane) extends Pane, 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 $TC.

Attributes

Companion
object
Supertypes
class Pane
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[DialogPane]
class Object
trait Matchable
class Any
Show all
object FocusModel

Object companion for scalafx.scene.control.FocusModel.

Object companion for scalafx.scene.control.FocusModel.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
FocusModel.type
abstract class FocusModel[T](val delegate: FocusModel[T]) extends SFXDelegate[FocusModel[T]]

Wraps a JavaFX FocusModel.

Wraps a JavaFX FocusModel.

Type parameters

T

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

Value parameters

delegate

JavaFX FocusModel to be wrapped.

Attributes

Constructor

Creates a new ScalaFX FocusModel from its JavaFX counterpart.

Companion
object
Supertypes
trait SFXDelegate[FocusModel[T]]
class Object
trait Matchable
class Any
Known subtypes
object Hyperlink

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Hyperlink.type
class Hyperlink(val delegate: Hyperlink) extends ButtonBase, SFXDelegate[Hyperlink]

Attributes

Companion
object
Supertypes
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Hyperlink]
class Object
trait Matchable
class Any
Show all
object IndexRange

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
IndexRange.type
class IndexRange(val delegate: IndexRange) extends SFXDelegate[IndexRange]

Attributes

Companion
object
Supertypes
trait SFXDelegate[IndexRange]
class Object
trait Matchable
class Any
object IndexedCell

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class IndexedCell[T](val delegate: IndexedCell[T]) extends Cell[T], SFXDelegate[IndexedCell[T]]

Attributes

Companion
object
Supertypes
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[IndexedCell[T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ListCell[T]
class CheckBoxListCell[T]
class ComboBoxListCell[T]
class TableCell[S, T]
class CheckBoxTableCell[S, T]
class ChoiceBoxTableCell[S, T]
class ComboBoxTableCell[S, T]
class TextFieldTableCell[S, T]
class TableRow[T]
class TreeCell[T]
class CheckBoxTreeCell[T]
class ComboBoxTreeCell[T]
class TreeTableCell[S, T]
class CheckBoxTreeTableCell[S, T]
class ComboBoxTreeTableCell[S, T]
class TreeTableRow[T]
Show all
object Label

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Label.type
class Label(val delegate: Label) extends Labeled, SFXDelegate[Label]

Attributes

Companion
object
Supertypes
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Label]
class Object
trait Matchable
class Any
Show all
object Labeled

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Labeled.type
abstract class Labeled(val delegate: Labeled) extends Control, AlignmentDelegate[Labeled], SFXDelegate[Labeled]

Attributes

Companion
object
Supertypes
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Labeled]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ButtonBase
class Button
class CheckBox
class Hyperlink
class MenuButton
class ToggleButton
class RadioButton
class Cell[T]
class DateCell
class IndexedCell[T]
class ListCell[T]
class CheckBoxListCell[T]
class ComboBoxListCell[T]
class TableCell[S, T]
class CheckBoxTableCell[S, T]
class ChoiceBoxTableCell[S, T]
class ComboBoxTableCell[S, T]
class TextFieldTableCell[S, T]
class TableRow[T]
class TreeCell[T]
class CheckBoxTreeCell[T]
class ComboBoxTreeCell[T]
class TreeTableCell[S, T]
class CheckBoxTreeTableCell[S, T]
class ComboBoxTreeTableCell[S, T]
class TreeTableRow[T]
class Label
class TitledPane
Show all
object ListCell

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ListCell.type
class ListCell[T](val delegate: ListCell[T]) extends IndexedCell[T], SFXDelegate[ListCell[T]]

Attributes

Companion
object
Supertypes
class IndexedCell[T]
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ListCell[T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
object ListView

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ListView.type
class ListView[T](val delegate: ListView[T]) extends Control, SFXDelegate[ListView[T]]

A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact. A ListView is able to have its generic type set to represent the type of data in the backing model.

A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact. A ListView is able to have its generic type set to represent the type of data in the backing model.

Attributes

Constructor

Creates a default ListView which will display contents stacked vertically.

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ListView[T]]
class Object
trait Matchable
class Any
Show all
object Menu

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Menu.type
class Menu(val delegate: Menu) extends MenuItem, SFXDelegate[Menu]

Attributes

Companion
object
Supertypes
class MenuItem
trait FireDelegate[MenuItem]
trait Styleable
class EventTarget
trait SFXDelegate[Menu]
class Object
trait Matchable
class Any
Show all
object MenuBar

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
MenuBar.type
class MenuBar(val delegate: MenuBar) extends Control, SFXDelegate[MenuBar]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[MenuBar]
class Object
trait Matchable
class Any
Show all
object MenuButton

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
MenuButton.type
class MenuButton(val delegate: MenuButton) extends ButtonBase, SFXDelegate[MenuButton]

Attributes

Companion
object
Supertypes
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[MenuButton]
class Object
trait Matchable
class Any
Show all
Known subtypes
object MenuItem

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
MenuItem.type
class MenuItem(val delegate: MenuItem) extends EventTarget, Styleable, FireDelegate[MenuItem], SFXDelegate[MenuItem]

Attributes

Companion
object
Supertypes
trait FireDelegate[MenuItem]
trait Styleable
class EventTarget
trait SFXDelegate[MenuItem]
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class MultipleSelectionModel[T](val delegate: MultipleSelectionModel[T]) extends SelectionModel[T], SFXDelegate[MultipleSelectionModel[T]]

Attributes

Companion
object
Supertypes
class SelectionModel[T]
trait SFXDelegate[MultipleSelectionModel[T]]
class Object
trait Matchable
class Any
Known subtypes
object OverrunStyle extends SFXEnumDelegateCompanion[OverrunStyle, OverrunStyle]

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait SFXEnumDelegateCompanion[OverrunStyle, OverrunStyle]
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class OverrunStyle(val delegate: OverrunStyle) extends SFXEnumDelegate[OverrunStyle]

Attributes

Companion
object
Supertypes
trait SFXEnumDelegate[OverrunStyle]
trait SFXDelegate[OverrunStyle]
class Object
trait Matchable
class Any
Known subtypes
object CenterEllipsis.type
object CenterWordEllipsis.type
object Clip.type
object Ellipsis.type
object LeadingEllipsis.type
object LeadingWordEllipsis.type
object WordEllipsis.type
Show all
object Pagination

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Pagination.type
class Pagination(val delegate: Pagination) extends Control, SFXDelegate[Pagination]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Pagination]
class Object
trait Matchable
class Any
Show all
object PasswordField

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class PasswordField(val delegate: PasswordField) extends TextField, SFXDelegate[PasswordField]

Attributes

Companion
object
Supertypes
class TextField
trait AlignmentDelegate[TextField]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[PasswordField]
class Object
trait Matchable
class Any
Show all
object PopupControl

Object companion for scalafx.scene.control.PopupControl.

Object companion for scalafx.scene.control.PopupControl.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class PopupControl(val delegate: PopupControl) extends PopupWindow, Styleable, Skinnable, SFXDelegate[PopupControl]

Wraps a JavaFX PopupControl.

Wraps a JavaFX PopupControl.

Value parameters

delegate

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

Attributes

Constructor

Creates a new ScalaFX PopupControl from its JavaFX counterpart.

Companion
object
Supertypes
trait Skinnable
trait Styleable
class PopupWindow
class Window
class EventTarget
trait SFXDelegate[PopupControl]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ContextMenu
class Tooltip
object ProgressBar

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ProgressBar(val delegate: ProgressBar) extends ProgressIndicator, SFXDelegate[ProgressBar]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ProgressBar]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ProgressIndicator(val delegate: ProgressIndicator) extends Control, SFXDelegate[ProgressIndicator]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ProgressIndicator]
class Object
trait Matchable
class Any
Show all
Known subtypes
class ProgressBar
object RadioButton

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class RadioButton(val delegate: RadioButton) extends ToggleButton, SFXDelegate[RadioButton]

Attributes

Companion
object
Supertypes
class ToggleButton
trait Toggle
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[RadioButton]
class Object
trait Matchable
class Any
Show all
object RadioMenuItem

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class RadioMenuItem(val delegate: RadioMenuItem) extends MenuItem, Toggle, SFXDelegate[RadioMenuItem]

Attributes

Companion
object
Supertypes
trait Toggle
class MenuItem
trait FireDelegate[MenuItem]
trait Styleable
class EventTarget
trait SFXDelegate[RadioMenuItem]
class Object
trait Matchable
class Any
Show all

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class ResizeFeaturesBase[S](val delegate: ResizeFeaturesBase[S]) extends SFXDelegate[ResizeFeaturesBase[S]]

Wraps JavaFX ResizeFeaturesBase.

Wraps JavaFX ResizeFeaturesBase.

Type parameters

S

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

Value parameters

delegate

JavaFX ResizeFeaturesBase to be wrapped.

Attributes

Constructor

Creates a new ScalaFX ResizeFeaturesBase from a JavaFX ResizeFeaturesBase.

Since

8.0

Companion
object
Supertypes
trait SFXDelegate[ResizeFeaturesBase[S]]
class Object
trait Matchable
class Any
Known subtypes
class ResizeFeatures[S]
class ResizeFeatures[S]
object ScrollBar

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ScrollBar.type
class ScrollBar(val delegate: ScrollBar) extends Control, SFXDelegate[ScrollBar]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ScrollBar]
class Object
trait Matchable
class Any
Show all
object ScrollPane

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ScrollPane.type
class ScrollPane(val delegate: ScrollPane) extends Control, SFXDelegate[ScrollPane]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ScrollPane]
class Object
trait Matchable
class Any
Show all
object ScrollToEvent

Companion Object for scalafx.scene.control.ScrollToEvent.

Companion Object for scalafx.scene.control.ScrollToEvent.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ScrollToEvent[T](val delegate: ScrollToEvent[T]) extends Event, SFXDelegate[ScrollToEvent[T]]

Wraps JavaFX ScrollToEvent.

Wraps JavaFX ScrollToEvent.

Type parameters

T

scroll target type

Value parameters

delegate

JavaFX ScrollToEvent

Attributes

Constructor

Creates a new ScrollToEvent from its JavaFX counterpart.

Companion
object
Supertypes
class Event
trait SFXDelegate[ScrollToEvent[T]]
class Object
trait Matchable
class Any
object SelectionMode extends SFXEnumDelegateCompanion[SelectionMode, SelectionMode]

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait SFXEnumDelegateCompanion[SelectionMode, SelectionMode]
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class SelectionMode(val delegate: SelectionMode) extends SFXEnumDelegate[SelectionMode]

Attributes

Companion
object
Supertypes
trait SFXEnumDelegate[SelectionMode]
trait SFXDelegate[SelectionMode]
class Object
trait Matchable
class Any
Known subtypes
object Multiple.type
object Single.type

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SelectionModel[T](val delegate: SelectionModel[T]) extends SFXDelegate[SelectionModel[T]]

Attributes

Companion
object
Supertypes
trait SFXDelegate[SelectionModel[T]]
class Object
trait Matchable
class Any
Known subtypes
object Separator

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Separator.type
class Separator(val delegate: Separator) extends Control, SFXDelegate[Separator]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Separator]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class SeparatorMenuItem(val delegate: SeparatorMenuItem) extends CustomMenuItem, 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 CustomMenuItem.

Value parameters

delegate

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

Attributes

Constructor

Creates a new CustomMenuItem from a JavaFX one.

Companion
object
Supertypes
class MenuItem
trait FireDelegate[MenuItem]
trait Styleable
class EventTarget
trait SFXDelegate[SeparatorMenuItem]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class SingleSelectionModel[T](val delegate: SingleSelectionModel[T]) extends SelectionModel[T], SFXDelegate[SingleSelectionModel[T]]

Attributes

Companion
object
Supertypes
class SelectionModel[T]
trait SFXDelegate[SingleSelectionModel[T]]
class Object
trait Matchable
class Any
object Skin

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Skin.type
trait Skin[C <: Skinnable] extends SFXDelegate[Skin[C]]

Attributes

Companion
object
Supertypes
trait SFXDelegate[Skin[C]]
class Object
trait Matchable
class Any
object SkinBase

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
SkinBase.type
abstract class SkinBase[C <: Control] extends SFXDelegate[SkinBase[C]]
object Skinnable

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Skinnable.type
trait Skinnable extends SFXDelegate[Skinnable]

Attributes

Companion
object
Supertypes
trait SFXDelegate[Skinnable]
class Object
trait Matchable
class Any
Known subtypes
class Control
class Accordion
class ButtonBar
class ChoiceBox[J]
class ComboBoxBase[T]
class ColorPicker
class ComboBox[T]
class DatePicker
class Labeled
class ButtonBase
class Button
class CheckBox
class Hyperlink
class MenuButton
class ToggleButton
class RadioButton
class Cell[T]
class DateCell
class IndexedCell[T]
class ListCell[T]
class CheckBoxListCell[T]
class ComboBoxListCell[T]
class TableCell[S, T]
class CheckBoxTableCell[S, T]
class ChoiceBoxTableCell[S, T]
class ComboBoxTableCell[S, T]
class TextFieldTableCell[S, T]
class TableRow[T]
class TreeCell[T]
class CheckBoxTreeCell[T]
class ComboBoxTreeCell[T]
class TreeTableCell[S, T]
class CheckBoxTreeTableCell[S, T]
class ComboBoxTreeTableCell[S, T]
class TreeTableRow[T]
class Label
class TitledPane
class ListView[T]
class MenuBar
class Pagination
class ProgressBar
class ScrollBar
class ScrollPane
class Separator
class Slider
class Spinner[T]
class SplitPane
class TabPane
class TableView[S]
class TextArea
class TextField
class ToolBar
class TreeTableView[S]
class TreeView[T]
class HTMLEditor
class PopupControl
class ContextMenu
class Tooltip
Show all
object Slider

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Slider.type
class Slider(val delegate: Slider) extends Control, SFXDelegate[Slider]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Slider]
class Object
trait Matchable
class Any
Show all
object SortEvent

Object Companion for scalafx.scene.control.SortEvent

Object Companion for scalafx.scene.control.SortEvent

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
SortEvent.type
class SortEvent[C](val delegate: SortEvent[C]) extends Event, SFXDelegate[SortEvent[C]]

Wraps a $JFX SortEvent.

Wraps a $JFX SortEvent.

Type parameters

C

Event Type

Value parameters

delegate

JavaFX SortEvent to be wrapped.

Attributes

Constructor

Creates a new ScalaFX SortEvent from a JavaFX one.

Since

8.0

Companion
object
Supertypes
class Event
trait SFXDelegate[SortEvent[C]]
class Object
trait Matchable
class Any
object Spinner

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Spinner.type
class Spinner[T](val delegate: Spinner[T]) extends Control, 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 JavaFX http://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Spinner.html.

Type parameters

T

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

Value parameters

delegate

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

Attributes

Constructor

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

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[Spinner[T]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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 parameters

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 parameters

delegate

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

Attributes

Companion
object
Supertypes
trait SFXDelegate[SpinnerValueFactory[T]]
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class SplitMenuButton(val delegate: SplitMenuButton) extends MenuButton, SFXDelegate[SplitMenuButton]

Wrapper for javafx.scene.control.SplitMenuButton.

Wrapper for javafx.scene.control.SplitMenuButton.

Attributes

Companion
object
Supertypes
class MenuButton
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[SplitMenuButton]
class Object
trait Matchable
class Any
Show all
object SplitPane

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
SplitPane.type
class SplitPane(val delegate: SplitPane) extends Control, SFXDelegate[SplitPane]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[SplitPane]
class Object
trait Matchable
class Any
Show all
object Tab

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Tab.type
class Tab(val delegate: Tab) extends Styleable, SFXDelegate[Tab]

Attributes

Companion
object
Supertypes
trait Styleable
trait SFXDelegate[Tab]
class Object
trait Matchable
class Any
object TabPane

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TabPane.type
class TabPane(val delegate: TabPane) extends Control, SFXDelegate[TabPane]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TabPane]
class Object
trait Matchable
class Any
Show all
object TableCell

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TableCell.type
class TableCell[S, T](val delegate: TableCell[S, T]) extends IndexedCell[T], SFXDelegate[TableCell[S, T]]

Attributes

Companion
object
Supertypes
class IndexedCell[T]
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TableCell[S, T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
class CheckBoxTableCell[S, T]
class ChoiceBoxTableCell[S, T]
class ComboBoxTableCell[S, T]
class TextFieldTableCell[S, T]
object TableColumn

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TableColumn[S, T](val delegate: TableColumn[S, T]) extends TableColumnBase[S, T], SFXDelegate[TableColumn[S, T]]

Attributes

Companion
object
Supertypes
class TableColumnBase[S, T]
trait Styleable
class EventTarget
trait SFXDelegate[TableColumn[S, T]]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TableColumnBase[S, T] extends EventTarget, Styleable, SFXDelegate[TableColumnBase[S, T]]

Attributes

Companion
object
Supertypes
trait Styleable
class EventTarget
trait SFXDelegate[TableColumnBase[S, T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
class TableColumn[S, T]
class TreeTableColumn[S, T]

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TableFocusModel[T, TC <: TableColumnBase[T, _]](val delegate: TableFocusModel[T, TC]) extends FocusModel[T], SFXDelegate[TableFocusModel[T, TC]]

Wraps a JavaFX TableFocusModel.

Wraps a JavaFX TableFocusModel.

Type parameters

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 parameters

delegate

JavaFX TableFocusModel to be wrapped.

Attributes

Constructor

Creates a new ScalaFX TableFocusModel from its JavaFX counterpart.

Since

8.0

Companion
object
Supertypes
class FocusModel[T]
trait SFXDelegate[TableFocusModel[T, TC]]
class Object
trait Matchable
class Any
Known subtypes
object TablePosition

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TablePosition[S, T](val delegate: TablePosition[S, T]) extends TablePositionBase[TableColumn[S, T]], SFXDelegate[TablePosition[S, T]]

Type parameters

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 parameters

JavaFX

TablePositionBase to be wrapped

Attributes

Constructor

creates a new ScalaFX TablePosition from a JavaFX one.

Companion
object
Supertypes
class TablePositionBase[TableColumn[S, T]]
trait SFXDelegate[TablePosition[S, T]]
class Object
trait Matchable
class Any

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TablePositionBase[TC <: TableColumnBase[_, _]](val delegate: TablePositionBase[TC]) extends SFXDelegate[TablePositionBase[TC]]

Type parameters

TC

A JavaFX TableColumnBase subclass

Value parameters

delegate

JavaFX TablePositionBase

Attributes

Constructor

creates a new ScalaFX TablePositionBase from a JavaFX one.

Since

8.0

Companion
object
Supertypes
trait SFXDelegate[TablePositionBase[TC]]
class Object
trait Matchable
class Any
Known subtypes
class TablePosition[S, T]
class TreeTablePosition[S, T]
object TableRow

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TableRow.type
class TableRow[T](val delegate: TableRow[T]) extends IndexedCell[T], SFXDelegate[TableRow[T]]

Attributes

Companion
object
Supertypes
class IndexedCell[T]
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TableRow[T]]
class Object
trait Matchable
class Any
Show all

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TableSelectionModel[T](val delegate: TableSelectionModel[T]) extends MultipleSelectionModel[T], SFXDelegate[TableSelectionModel[T]]

Wraps JavaFX TableSelectionModel.

Wraps JavaFX TableSelectionModel.

Type parameters

T

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

Value parameters

delegate

JavaFX TableSelectionModel

Attributes

Constructor

creates a new ScalaFX TableSelectionModel from a JavaFX one.

Since

8.0

Companion
object
Supertypes
class SelectionModel[T]
trait SFXDelegate[TableSelectionModel[T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
object TableView

$OBJCOMPSTA$TV$OBJCOMPEND

$OBJCOMPSTA$TV$OBJCOMPEND

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TableView.type
class TableView[S](val delegate: TableView[S]) extends Control, SFXDelegate[TableView[S]]

Wraps JavaFX TableView.

Wraps JavaFX TableView.

Type parameters

S

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

Value parameters

delegate

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

Attributes

Constructor

Creates a new ScalaFX TableView Wrapping a JavaFX TableView.

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TableView[S]]
class Object
trait Matchable
class Any
Show all
object TextArea

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TextArea.type
class TextArea(val delegate: TextArea) extends TextInputControl, SFXDelegate[TextArea]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TextArea]
class Object
trait Matchable
class Any
Show all
object TextField

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TextField.type
class TextField(val delegate: TextField) extends TextInputControl, AlignmentDelegate[TextField], SFXDelegate[TextField]

Attributes

Companion
object
Supertypes
trait AlignmentDelegate[TextField]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TextField]
class Object
trait Matchable
class Any
Show all
Known subtypes
object TextFormatter

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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 $JFX $URL0 $TC]].

Attributes

Companion
object
Supertypes
trait SFXDelegate[TextFormatter[V]]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TextInputControl(val delegate: TextInputControl) extends Control, SFXDelegate[TextInputControl]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TextInputControl]
class Object
trait Matchable
class Any
Show all
Known subtypes
class TextArea
class TextField

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TextInputDialog(val delegate: TextInputDialog) extends Dialog[String], 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 Dialog.

Attributes

Constructor

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

Companion
object
Supertypes
class Dialog[String]
class EventTarget
trait SFXDelegate[TextInputDialog]
class Object
trait Matchable
class Any
Show all
object TitledPane

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TitledPane.type
class TitledPane(val delegate: TitledPane) extends Labeled, SFXDelegate[TitledPane]

Attributes

Companion
object
Supertypes
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TitledPane]
class Object
trait Matchable
class Any
Show all
object Toggle

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Toggle.type
trait Toggle extends SFXDelegate[Toggle]

Wrapper trait to Toggle interface.

Wrapper trait to Toggle interface.

Attributes

Companion
object
Supertypes
trait SFXDelegate[Toggle]
class Object
trait Matchable
class Any
Known subtypes
object ToggleButton

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ToggleButton(val delegate: ToggleButton) extends ButtonBase, Toggle, SFXDelegate[ToggleButton]

Attributes

Companion
object
Supertypes
trait Toggle
class ButtonBase
trait FireDelegate[ButtonBase]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ToggleButton]
class Object
trait Matchable
class Any
Show all
Known subtypes
class RadioButton
object ToggleGroup

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ToggleGroup(val delegate: ToggleGroup) extends SFXDelegate[ToggleGroup]
object ToolBar

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ToolBar.type
class ToolBar(val delegate: ToolBar) extends Control, SFXDelegate[ToolBar]

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[ToolBar]
class Object
trait Matchable
class Any
Show all
object Tooltip

Object companion for scalafx.scene.control.PopupControl.

Object companion for scalafx.scene.control.PopupControl.

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Tooltip.type
class Tooltip(val delegate: Tooltip) extends PopupControl, SFXDelegate[Tooltip]

Wraps a JavaFX Tooltip.

Wraps a JavaFX Tooltip.

Value parameters

delegate

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

Attributes

Constructor

Creates a new ScalaFX Tooltip from its JavaFX counterpart.

Companion
object
Supertypes
class PopupControl
trait Skinnable
trait Styleable
class PopupWindow
class Window
class EventTarget
trait SFXDelegate[Tooltip]
class Object
trait Matchable
class Any
Show all
object TreeCell

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TreeCell.type
class TreeCell[T](val delegate: TreeCell[T]) extends IndexedCell[T], SFXDelegate[TreeCell[T]]

Type parameters

T

The type of the value contained within the TreeItem property.

Attributes

Companion
object
Supertypes
class IndexedCell[T]
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TreeCell[T]]
class Object
trait Matchable
class Any
Show all
Known subtypes
object TreeItem

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TreeItem.type
class TreeItem[T](val delegate: TreeItem[T]) extends EventTarget, SFXDelegate[TreeItem[T]]

Attributes

Companion
object
Supertypes
class EventTarget
trait SFXDelegate[TreeItem[T]]
class Object
trait Matchable
class Any
object TreeSortMode extends SFXEnumDelegateCompanion[TreeSortMode, TreeSortMode]

Wrapper for scalafx.scene.control.$TSM

Wrapper for scalafx.scene.control.$TSM

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait SFXEnumDelegateCompanion[TreeSortMode, TreeSortMode]
class Object
trait Matchable
class Any
Show all
Self type
sealed abstract class TreeSortMode(val delegate: TreeSortMode) extends SFXEnumDelegate[TreeSortMode]

Wraps JavaFX TreeSortMode.

Wraps JavaFX TreeSortMode.

Value parameters

delegate

JavaFX TreeSortMode

Attributes

Constructor

Creates a new TreeSortMode from a JavaFX one.

Since

8.0

Companion
object
Supertypes
trait SFXEnumDelegate[TreeSortMode]
trait SFXDelegate[TreeSortMode]
class Object
trait Matchable
class Any
Known subtypes
object AllDescendants.type
object OnlyFirstModel.type
object TreeTableCell

Object Companion for scalafx.scene.control.SortEvent

Object Companion for scalafx.scene.control.SortEvent

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TreeTableCell[S, T](val delegate: TreeTableCell[S, T]) extends IndexedCell[T], SFXDelegate[TreeTableCell[S, T]]

Wraps a JavaFX $TTC.

Wraps a JavaFX $TTC.

Type parameters

S

The type of the item contained within the Cell.

T

The type of the item contained within the Cell.

Value parameters

delegate

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

Attributes

Constructor

Creates a new $TTC from a JavaFX one.

Since

8.0

Companion
object
Supertypes
class IndexedCell[T]
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TreeTableCell[S, T]]
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TreeTableColumn[S, T](val delegate: TreeTableColumn[S, T]) extends TableColumnBase[TreeItem[S], T], SFXDelegate[TreeTableColumn[S, T]]

A TreeTableView is made up of a number of TreeTableColumn instances. Each TreeTableColumn in a TreeTableView is responsible for displaying (and editing) the contents of that column.

A TreeTableView is made up of a number of TreeTableColumn instances. Each TreeTableColumn in a TreeTableView is responsible for displaying (and editing) the contents of that column.

Wraps a JavaFX TreeTableColumn

Type parameters

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 parameters

delegate

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

Attributes

Constructor

Creates a new TreeTableColumn from a JavaFX one.

Since

8.0

Companion
object
Supertypes
class TableColumnBase[TreeItem[S], T]
trait Styleable
class EventTarget
trait SFXDelegate[TreeTableColumn[S, T]]
class Object
trait Matchable
class Any
Show all

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TreeTablePosition[S, T](val delegate: TreeTablePosition[S, T]) extends TablePositionBase[TreeTableColumn[S, T]], SFXDelegate[TreeTablePosition[S, T]]

Wraps a $JFX $URL0 $TTP]].

Wraps a $JFX $URL0 $TTP]].

Type parameters

S

The type of the TreeItem instances contained within the TreeTableView.

T

The type of the items contained within the TreeTableColumn.

Value parameters

delegate

A $JFX $TTP to be wrapped. Its defaul value is a new $JFX $TTP.

Attributes

Constructor

Creates a new $TTP from a $JFX one.

Since

8.0

Companion
object
Supertypes
class TablePositionBase[TreeTableColumn[S, T]]
trait SFXDelegate[TreeTablePosition[S, T]]
class Object
trait Matchable
class Any
object TreeTableRow

Object companion for scalafx.scene.control.TreeTableRow.

Object companion for scalafx.scene.control.TreeTableRow.

Attributes

Since

8.0

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TreeTableRow[T](val delegate: TreeTableRow[T]) extends IndexedCell[T], SFXDelegate[TreeTableRow[T]]

Wraps a JavaFX $TTR.

Wraps a JavaFX $TTR.

Type parameters

T

The type of the item contained within the Cell.

Value parameters

delegate

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

Attributes

Constructor

Creates a new $TTR from a JavaFX one.

Since

8.0

Companion
object
Supertypes
class IndexedCell[T]
class Cell[T]
class Labeled
trait AlignmentDelegate[Labeled]
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TreeTableRow[T]]
class Object
trait Matchable
class Any
Show all
object TreeTableView

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class TreeTableView[S](val delegate: TreeTableView[S]) extends Control, 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 parameters

S

The type of the TreeItem instances used in this TreeTableView.

Value parameters

delegate

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

Attributes

Constructor

Creates a new TreeTableView from a JavaFX one.

Since

8.0

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TreeTableView[S]]
class Object
trait Matchable
class Any
Show all
object TreeView

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TreeView.type
class TreeView[T](val delegate: TreeView[T]) extends Control, SFXDelegate[TreeView[T]]

The TreeView control provides a view on to a tree root (of type TreeItem). By using a TreeView, it is possible to drill down into the children of a TreeItem, recursively until a TreeItem has no children (that is, it is a leaf node in the tree). To facilitate this, unlike controls like ListView, in TreeView it is necessary to only specify the root node.

The TreeView control provides a view on to a tree root (of type TreeItem). By using a TreeView, it is possible to drill down into the children of a TreeItem, recursively until a TreeItem has no children (that is, it is a leaf node in the tree). To facilitate this, unlike controls like ListView, in TreeView it is necessary to only specify the root node.

For more information on building up a tree using this approach, refer to the TreeItem class documentation. Briefly, to create a TreeView, you should do something along the lines of the following:

 val rootItem = new TreeItem("Root Node") {
   expanded = true
   children ++= Seq(
     new TreeItem("Item 1"),
     new TreeItem("Item 2"),
     new TreeItem("Item 3")
   )
 }

 val treeView = new TreeView[String] {
   root = rootItem
 }

Type parameters

T

The type of the item contained within the TreeItem value property for all tree items in this TreeView.

Value parameters

delegate

underlying JavaFX class

Attributes

Companion
object
Supertypes
class Control
trait Skinnable
class Region
class Parent
class Node
trait Styleable
class EventTarget
trait SFXDelegate[TreeView[T]]
class Object
trait Matchable
class Any
Show all

Deprecated classlikes

Attributes

Companion
class
Deprecated
true
Supertypes
class Object
trait Matchable
class Any
Self type
class TextFieldProperty(val delegate: ReadOnlyObjectProperty[TextField]) extends ReadOnlyObjectProperty[TextField], SFXDelegate[ReadOnlyObjectProperty[TextField]], AlignmentPropertyDelegate

Attributes

Companion
object
Deprecated
true
Supertypes
class ReadOnlyObjectProperty[TextField]
trait ReadOnlyProperty[TextField, TextField]
trait ObservableValue[TextField, TextField]
trait Observable
trait SFXDelegate[ReadOnlyObjectProperty[TextField]]
class ObjectExpression[TextField]
class Object
trait Matchable
class Any
Show all