scalafx.scene.control
Wraps `javafx.scene.control` package.
Attributes
Members list
Packages
Wraps `javafx.scene.control.cell` package.
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Accordion]class Objecttrait Matchableclass AnyShow all
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 EventTargettrait SFXDelegate[Alert]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Button]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.ButtonBar.
Object companion for scalafx.scene.control.ButtonBar.
Attributes
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 Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ButtonBar]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ButtonBase.type
Attributes
- Companion
- object
- Supertypes
-
trait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ButtonBase]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Buttonclass CheckBoxclass Hyperlinkclass MenuButtonclass SplitMenuButtonclass ToggleButtonclass RadioButtonShow all
Object companion for scalafx.scene.control.ButtonType.
Object companion for scalafx.scene.control.ButtonType.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ButtonType.type
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
Attributes
- Companion
- object
- Supertypes
-
class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class DateCellclass IndexedCell[T]class ListCell[T]class CheckBoxListCell[T]class ChoiceBoxListCell[T]class ComboBoxListCell[T]class TextFieldListCell[T]class ProgressBarTableCell[S]class TableRow[T]class TreeCell[T]class CheckBoxTreeCell[T]class ChoiceBoxTreeCell[T]class ComboBoxTreeCell[T]class TextFieldTreeCell[T]class TreeTableRow[T]Show all
Attributes
- Companion
- object
- Supertypes
-
class ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[CheckBox]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CheckMenuItem.type
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 MenuItemtrait FireDelegate[MenuItem]trait Styleableclass EventTargettrait SFXDelegate[CheckMenuItem]class Objecttrait Matchableclass AnyShow all
Attributes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ChoiceDialog.type
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
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ColorPicker.type
Attributes
- Companion
- object
- Supertypes
-
class ComboBoxBase[Color]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ColorPicker]class Objecttrait Matchableclass AnyShow all
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 Node
s 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 Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ComboBoxBase.type
Attributes
Wrapper for scalafx.scene.control.ContentDisplay
Wrapper for scalafx.scene.control.ContentDisplay
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ContentDisplay.type
Attributes
- Companion
- object
- Supertypes
-
trait SFXEnumDelegate[ContentDisplay]trait SFXDelegate[ContentDisplay]class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ContextMenu.type
Attributes
- Companion
- object
- Supertypes
-
class PopupControltrait Skinnabletrait Styleableclass PopupWindowclass Windowclass EventTargettrait SFXDelegate[ContextMenu]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Control]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Accordionclass ButtonBarclass ChoiceBox[J]class ComboBoxBase[T]class ColorPickerclass ComboBox[T]class DatePickerclass Labeledclass ButtonBaseclass Buttonclass CheckBoxclass Hyperlinkclass MenuButtonclass SplitMenuButtonclass ToggleButtonclass RadioButtonclass Cell[T]class DateCellclass IndexedCell[T]class ListCell[T]class CheckBoxListCell[T]class ChoiceBoxListCell[T]class ComboBoxListCell[T]class TextFieldListCell[T]class ProgressBarTableCell[S]class TableRow[T]class TreeCell[T]class CheckBoxTreeCell[T]class ChoiceBoxTreeCell[T]class ComboBoxTreeCell[T]class TextFieldTreeCell[T]class TreeTableRow[T]class Labelclass TitledPaneclass ListView[T]class MenuBarclass Paginationclass ProgressIndicatorclass ProgressBarclass ScrollBarclass ScrollPaneclass Separatorclass Sliderclass Spinner[T]class SplitPaneclass TabPaneclass TableView[S]class TextInputControlclass TextAreaclass TextFieldclass PasswordFieldclass ToolBarclass TreeTableView[S]class TreeView[T]class HTMLEditorShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ControlIncludes.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
- Known subtypes
-
object ControlIncludes.typetrait SceneIncludesobject SceneIncludes.typetrait Includesobject Includes.type
Object companion for CustomMenuItem.
Object companion for CustomMenuItem.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CustomMenuItem.type
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 MenuItemtrait FireDelegate[MenuItem]trait Styleableclass EventTargettrait SFXDelegate[CustomMenuItem]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class SeparatorMenuItem
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 Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
class Cell[LocalDate]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[DateCell]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DatePicker.type
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 Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[DatePicker]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.Dialog.
Object companion for scalafx.scene.control.Dialog.
Attributes
A Dialog wraps a DialogPane and provides the necessary API to present it to end users.
Object companion for scalafx.scene.control.DialogEvent.
Object companion for scalafx.scene.control.DialogEvent.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DialogEvent.type
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
Object companion for scalafx.scene.control.DialogPane.
Object companion for scalafx.scene.control.DialogPane.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DialogPane.type
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 Paneclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[DialogPane]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.FocusModel.
Object companion for scalafx.scene.control.FocusModel.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FocusModel.type
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
- Known subtypes
Attributes
- Companion
- object
- Supertypes
-
class ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Hyperlink]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IndexRange.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IndexedCell.type
Attributes
- Companion
- object
- Supertypes
-
class Cell[T]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ListCell[T]class CheckBoxListCell[T]class ChoiceBoxListCell[T]class ComboBoxListCell[T]class TextFieldListCell[T]class ProgressBarTableCell[S]class TableRow[T]class TreeCell[T]class CheckBoxTreeCell[T]class ChoiceBoxTreeCell[T]class ComboBoxTreeCell[T]class TextFieldTreeCell[T]class TreeTableRow[T]Show all
Attributes
- Companion
- object
- Supertypes
-
class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Label]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Labeled]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ButtonBaseclass Buttonclass CheckBoxclass Hyperlinkclass MenuButtonclass SplitMenuButtonclass ToggleButtonclass RadioButtonclass Cell[T]class DateCellclass IndexedCell[T]class ListCell[T]class CheckBoxListCell[T]class ChoiceBoxListCell[T]class ComboBoxListCell[T]class TextFieldListCell[T]class ProgressBarTableCell[S]class TableRow[T]class TreeCell[T]class CheckBoxTreeCell[T]class ChoiceBoxTreeCell[T]class ComboBoxTreeCell[T]class TextFieldTreeCell[T]class TreeTableRow[T]class Labelclass TitledPaneShow all
Attributes
- Companion
- object
- Supertypes
-
class IndexedCell[T]class Cell[T]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CheckBoxListCell[T]class ChoiceBoxListCell[T]class ComboBoxListCell[T]class TextFieldListCell[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
Attributes
- Companion
- object
- Supertypes
-
class MenuItemtrait FireDelegate[MenuItem]trait Styleableclass EventTargettrait SFXDelegate[Menu]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[MenuBar]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MenuButton.type
Attributes
- Companion
- object
- Supertypes
-
class ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[MenuButton]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class SplitMenuButton
Attributes
- Companion
- object
- Supertypes
-
trait FireDelegate[MenuItem]trait Styleableclass EventTargettrait SFXDelegate[MenuItem]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class TableSelectionModel[T]class TableViewSelectionModel[S]
Wrapper for scalafx.scene.control.OverrunStyle
Wrapper for scalafx.scene.control.OverrunStyle
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
OverrunStyle.type
Attributes
- Companion
- object
- Supertypes
-
trait SFXEnumDelegate[OverrunStyle]trait SFXDelegate[OverrunStyle]class Objecttrait Matchableclass Any
- Known subtypes
-
object CenterEllipsis.typeobject CenterWordEllipsis.typeobject Clip.typeobject Ellipsis.typeobject LeadingEllipsis.typeobject LeadingWordEllipsis.typeobject WordEllipsis.typeShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Pagination.type
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Pagination]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PasswordField.type
Attributes
- Companion
- object
- Supertypes
-
class TextFieldtrait AlignmentDelegate[TextField]class TextInputControlclass Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[PasswordField]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.PopupControl.
Object companion for scalafx.scene.control.PopupControl.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PopupControl.type
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 Skinnabletrait Styleableclass PopupWindowclass Windowclass EventTargettrait SFXDelegate[PopupControl]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ContextMenuclass Tooltip
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProgressBar.type
Attributes
- Companion
- object
- Supertypes
-
class ProgressIndicatorclass Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ProgressBar]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProgressIndicator.type
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ProgressIndicator]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ProgressBar
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RadioButton.type
Attributes
- Companion
- object
- Supertypes
-
class ToggleButtontrait Toggleclass ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[RadioButton]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RadioMenuItem.type
Wrapper class for scalafx.scene.control.RadioMenuItem
Wrapper class for scalafx.scene.control.RadioMenuItem
Attributes
- Companion
- object
- Supertypes
-
trait Toggleclass MenuItemtrait FireDelegate[MenuItem]trait Styleableclass EventTargettrait SFXDelegate[RadioMenuItem]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.ResizeFeaturesBase
Object companion for scalafx.scene.control.ResizeFeaturesBase
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResizeFeaturesBase.type
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
- Known subtypes
-
class ResizeFeatures[S]class ResizeFeatures[S]
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ScrollBar]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScrollPane.type
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ScrollPane]class Objecttrait Matchableclass AnyShow all
Companion Object for scalafx.scene.control.ScrollToEvent.
Companion Object for scalafx.scene.control.ScrollToEvent.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScrollToEvent.type
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
Wrapper for scalafx.scene.control.SelectionMode
Wrapper for scalafx.scene.control.SelectionMode
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
SelectionMode.type
Attributes
- Companion
- object
- Supertypes
-
trait SFXEnumDelegate[SelectionMode]trait SFXDelegate[SelectionMode]class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SelectionModel.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class MultipleSelectionModel[T]class TableSelectionModel[T]class TableViewSelectionModel[S]class SingleSelectionModel[T]
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Separator]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.SeparatorMenuItem.
Object companion for scalafx.scene.control.SeparatorMenuItem.
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SeparatorMenuItem.type
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 CustomMenuItemclass MenuItemtrait FireDelegate[MenuItem]trait Styleableclass EventTargettrait SFXDelegate[SeparatorMenuItem]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SingleSelectionModel.type
Attributes
- Companion
- object
- Supertypes
Wraps javafx.scene.control.Skinnable interface.
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
class Controlclass Accordionclass ButtonBarclass ChoiceBox[J]class ComboBoxBase[T]class ColorPickerclass ComboBox[T]class DatePickerclass Labeledclass ButtonBaseclass Buttonclass CheckBoxclass Hyperlinkclass MenuButtonclass SplitMenuButtonclass ToggleButtonclass RadioButtonclass Cell[T]class DateCellclass IndexedCell[T]class ListCell[T]class CheckBoxListCell[T]class ChoiceBoxListCell[T]class ComboBoxListCell[T]class TextFieldListCell[T]class ProgressBarTableCell[S]class TableRow[T]class TreeCell[T]class CheckBoxTreeCell[T]class ChoiceBoxTreeCell[T]class ComboBoxTreeCell[T]class TextFieldTreeCell[T]class TreeTableRow[T]class Labelclass TitledPaneclass ListView[T]class MenuBarclass Paginationclass ProgressIndicatorclass ProgressBarclass ScrollBarclass ScrollPaneclass Separatorclass Sliderclass Spinner[T]class SplitPaneclass TabPaneclass TableView[S]class TextInputControlclass TextAreaclass TextFieldclass PasswordFieldclass ToolBarclass TreeTableView[S]class TreeView[T]class HTMLEditorclass PopupControlclass ContextMenuclass TooltipShow all
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[Slider]class Objecttrait Matchableclass AnyShow all
Object Companion for scalafx.scene.control.SortEvent
Object Companion for scalafx.scene.control.SortEvent
Attributes
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
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SpinnerValueFactory.type
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
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SplitMenuButton.type
Wrapper for javafx.scene.control.SplitMenuButton
.
Wrapper for javafx.scene.control.SplitMenuButton
.
Attributes
- Companion
- object
- Supertypes
-
class MenuButtonclass ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[SplitMenuButton]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[SplitPane]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[TabPane]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class IndexedCell[T]class Cell[T]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ProgressBarTableCell[S]
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TableColumn.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TableColumnBase.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
Object companion for scalafx.scene.control.TableFocusModel.
Object companion for scalafx.scene.control.TableFocusModel.
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TableFocusModel.type
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
- Known subtypes
-
class TableViewFocusModel[S]class TreeTableViewFocusModel[S]
Object companion for scalafx.scene.control.TablePosition
Object companion for scalafx.scene.control.TablePosition
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TablePosition.type
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 Objecttrait Matchableclass Any
Object companion for scalafx.scene.control.TablePositionBase
Object companion for scalafx.scene.control.TablePositionBase
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TablePositionBase.type
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
- Known subtypes
-
Attributes
- Companion
- object
- Supertypes
-
class IndexedCell[T]class Cell[T]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.TablePositionBase
Object companion for scalafx.scene.control.TablePositionBase
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TableSelectionModel.type
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 MultipleSelectionModel[T]class SelectionModel[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class TableViewSelectionModel[S]
Attributes
- Companion
- object
- Supertypes
-
class TextInputControlclass Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[TextArea]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait AlignmentDelegate[TextField]class TextInputControlclass Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[TextField]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class PasswordField
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TextFormatter.type
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
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TextInputControl.type
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[TextInputControl]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TextInputDialog.type
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 EventTargettrait SFXDelegate[TextInputDialog]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TitledPane.type
Attributes
- Companion
- object
- Supertypes
-
class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[TitledPane]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ToggleButton.type
Attributes
- Companion
- object
- Supertypes
-
trait Toggleclass ButtonBasetrait FireDelegate[ButtonBase]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ToggleButton]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class RadioButton
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ToggleGroup.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- object
- Supertypes
-
class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargettrait SFXDelegate[ToolBar]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.PopupControl.
Object companion for scalafx.scene.control.PopupControl.
Attributes
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 PopupControltrait Skinnabletrait Styleableclass PopupWindowclass Windowclass EventTargettrait SFXDelegate[Tooltip]class Objecttrait Matchableclass AnyShow all
Type parameters
- T
-
The type of the value contained within the
TreeItem
property.
Attributes
- Companion
- object
- Supertypes
-
class IndexedCell[T]class Cell[T]class Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CheckBoxTreeCell[T]class ChoiceBoxTreeCell[T]class ComboBoxTreeCell[T]class TextFieldTreeCell[T]
Wraps javafx.scene.control.TreeItem class.
Wrapper for scalafx.scene.control.$TSM
Wrapper for scalafx.scene.control.$TSM
Attributes
- Companion
- class
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
TreeSortMode.type
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 Objecttrait Matchableclass Any
- Known subtypes
-
object AllDescendants.typeobject OnlyFirstModel.type
Object Companion for scalafx.scene.control.SortEvent
Object Companion for scalafx.scene.control.SortEvent
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TreeTableCell.type
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 Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
Object companion for scalafx.scene.control.TreeTableColumn
Object companion for scalafx.scene.control.TreeTableColumn
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TreeTableColumn.type
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 newTreeTableColumn
from a JavaFX one. -
Since -
8.0 -
Companion -
object -
Supertypes -
class TableColumnBase[TreeItem[S], T]trait Styleableclass EventTargettrait SFXDelegate[TreeTableColumn[S, T]]class Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.TreeTablePosition.
Object companion for scalafx.scene.control.TreeTablePosition.
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TreeTablePosition.type
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 Objecttrait Matchableclass Any
Object companion for scalafx.scene.control.TreeTableRow.
Object companion for scalafx.scene.control.TreeTableRow.
Attributes
- Since
-
8.0
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TreeTableRow.type
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 Labeledtrait AlignmentDelegate[Labeled]class Controltrait Skinnableclass Regionclass Parentclass Nodetrait Styleableclass EventTargetclass Objecttrait Matchableclass AnyShow all
Object companion for scalafx.scene.control.TreeTableView
Object companion for scalafx.scene.control.TreeTableView
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TreeTableView.type
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
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 thisTreeView
.
Value parameters
- delegate
-
underlying JavaFX class
Attributes
Deprecated classlikes
Attributes
- Companion
- class
- Deprecated
- true
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TextFieldProperty.type
Attributes
- Companion
- object
- Deprecated
- true
- Supertypes
-
class ReadOnlyObjectProperty[TextField]trait Observableclass ObjectExpression[TextField]class Objecttrait Matchableclass AnyShow all