Uses of Package
javafx.scene.control
Package
Description
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
The
javafx.scene.control.cell
package is where all cell-related
classes are located, other than the core classes such as
Cell
, IndexedCell
,
ListCell
, TreeCell
,
and TableCell
.The javafx.scene.control.skin package is where the skin classes, typically
one for each UI control, are located
This package provides means for loading and displaying Web content.
-
ClassDescriptionAn enumeration containing the available, pre-built alert types that the
Alert
class can use to pre-populate various properties.An enumeration of all available button data annotations.Base class for button-like UI Controls, including Hyperlinks, Buttons, ToggleButtons, CheckBoxes, and RadioButtons.The ButtonType class is used as part of the JavaFXDialog
API (more specifically, theDialogPane
API) to specify which buttons should be shown to users in the dialogs.TreeItem subclass that adds support for being in selected, unselected, and indeterminate states.A TreeModificationEvent class that works in a similar vein to theTreeItem.TreeModificationEvent
class, in that this event will bubble up the CheckBoxTreeItem hierarchy, until the parent node is null.Abstract base class for ComboBox-like controls.The position to place the content within a Label.A popup control containing an ObservableList of menu items.Base class for all user interface controls.DateCell is used byDatePicker
to render the individual grid cells in the calendar month.The DatePicker control allows the user to enter a date as text or to select a date from a calendar popup.A Dialog in JavaFX wraps aDialogPane
and provides the necessary API to present it to end users.Event related to dialog showing/hiding actions.DialogPane should be considered to be the root node displayed within aDialog
instance.The abstract base class for FocusModel implementations.An implementation ofCell
which contains an index property which maps into the data model underlying the visualization.Class representing a contiguous range of integral values.A LabeledControl
is one which has as part of its user interface a textual content associated with it.A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact.AnEvent
subclass used specifically in ListView for representing edit-related events.A popup menu of actionable items which is displayed to the user only upon request.MenuButton is a button which, when clicked or pressed, will show aContextMenu
.MenuItem is intended to be used in conjunction withMenu
to provide options to users.An abstract class that extendsSelectionModel
to add API to support multiple selection.Defines the behavior of a labeled Control when the space for rendering the text is smaller than the space needed to render the entire string.An extension of PopupWindow that allows for CSS styling.The link between the popup window and the scenegraph.A circular control which is used for indicating progress, either infinite (aka indeterminate) or finite.A wrapper class for use by the column resize policies offered by controls such asTableView
andTreeTableView
.An enumeration denoting the policy to be used by a scrollable Control in deciding whether to show a scroll bar.Event related toScrollPane
and virtualised controls such asListView
,TableView
,TreeView
andTreeTableView
.An enumeration used to specify how many items may be selected in aMultipleSelectionModel
.SelectionModel is an abstract class used by UI controls to provide a consistent API for maintaining selection.A SelectionModel which enforces the requirement that only a single index be selected at any given time.An interface for defining the visual representation of user interface controls.The Skinnable interface is implemented by theControl
class, and therefore is implemented by all Control implementations.Event related toTableView
andTreeTableView
sorting.The SpinnerValueFactory is the model behind the JavaFXSpinner control
- without a value factory installed a Spinner is unusable.Represents a single divider in the SplitPane.Tabs are placed within aTabPane
, where each tab represents a single 'page'.Represents a single row/column intersection in aTableView
.ATableView
is made up of a number of TableColumn instances.A support class used in TableColumn as a wrapper class to provide all necessary information for a particularCell
.An event that is fired when a user performs an edit on a table cell.Enumeration that specifies the type of sorting being applied to a specific column.Table-like controls (such asTableView
andTreeTableView
) are made up of zero or more instances of a concrete TableColumnBase subclass (TableColumn
andTreeTableColumn
, respectively).The abstract base class for FocusModel implementations that are used within table-like controls (most notablyTableView
andTreeTableView
).This class is used to represent a single row/column/cell in a TableView.This class is used to represent a single row/column/cell in a table.TableRow is anIndexedCell
, but rarely needs to be used by developers creating TableView instances.The abstract base class for MultipleSelectionModel implementations that are used within table-like controls (most notablyTableView
andTreeTableView
).The TableView control is designed to visualize an unlimited number of rows of data, broken out into columns.An immutable wrapper class for use in the TableViewcolumn resize
functionality.AFocusModel
with additional functionality to support the requirements of a TableView control.A simple extension of theSelectionModel
abstract class to allow for special support for TableView controls.A control that allows switching between a group ofTabs
.Specifies how theTabPane
handles tab closing from an end-user's perspective.This enum specifies drag policies for tabs in a TabPane.Text input component that allows a user to enter a single line of unformatted text.A Formatter describes a format of aTextInputControl
text by using two distinct mechanisms: A filter (TextFormatter.getFilter()
) that can intercept and modify user input.Contains the state representing a change in the content or selection for a TextInputControl.Abstract base class for text input controls.Interface representing a text input's content.A TitledPane is a panel with a title that can be opened and closed.Represents a control that can be toggled between selected and non-selected states.AToggleButton
is a specialized control which has the ability to be selected.A class which contains a reference to allToggles
whoseselected
variables should be managed such that only a single
within theToggle
ToggleGroup
may be selected at any one time.Tooltips are common UI elements which are typically used for showing additional information about a Node in the scenegraph when the Node is hovered over by the mouse.The model for a single node supplying a hierarchy of values to a control such asTreeView
.AnEvent
that contains relevant information for all forms of TreeItem modifications.Specifies how the tree items in tree-like UI controls should be sorted.Represents a single row/column intersection in aTreeTableView
.ATreeTableView
is made up of a number of TreeTableColumn instances.A support class used in TreeTableColumn as a wrapper class to provide all necessary information for a particularCell
.An event that is fired when a user performs an edit on a table cell.Enumeration that specifies the type of sorting being applied to a specific column.This class is used to represent a single row/column/cell in a TreeTableView.TreeTableRow is anIndexedCell
, but rarely needs to be used by developers creating TreeTableView instances.The TreeTableView control is designed to visualize an unlimited number of rows of data, broken out into columns.AnEvent
subclass used specifically in TreeTableView for representing edit-related events.An immutable wrapper class for use in the TableViewcolumn resize
functionality.AFocusModel
with additional functionality to support the requirements of a TableView control.A simple extension of theSelectionModel
abstract class to allow for special support for TreeTableView controls.The TreeView control provides a view on to a tree root (of typeTreeItem
).AnEvent
subclass used specifically in TreeView for representing edit-related events. -
ClassDescriptionBase class for all user interface controls.An implementation of
Cell
which contains an index property which maps into the data model underlying the visualization.A LabeledControl
is one which has as part of its user interface a textual content associated with it.A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact.The Skinnable interface is implemented by theControl
class, and therefore is implemented by all Control implementations.Represents a single row/column intersection in aTableView
.ATableView
is made up of a number of TableColumn instances.A support class used in TableColumn as a wrapper class to provide all necessary information for a particularCell
.The model for a single node supplying a hierarchy of values to a control such asTreeView
.Represents a single row/column intersection in aTreeTableView
.ATreeTableView
is made up of a number of TreeTableColumn instances.A support class used in TreeTableColumn as a wrapper class to provide all necessary information for a particularCell
.The TreeView control provides a view on to a tree root (of typeTreeItem
). -
ClassDescriptionAn accordion is a group of
TitlePanes
.A simple button control.A ButtonBar is essentially aHBox
, with the additional functionality for operating system specific button placement.A tri-state selection Control typically skinned as a box with a checkmark or tick mark when checked.The ChoiceBox is used for presenting the user with a relatively small set of predefined choices from which they may choose.ColorPicker control allows the user to select a color from either a standard palette of colors with a simple one click selection OR define their own custom color.An implementation of theComboBoxBase
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.Abstract base class for ComboBox-like controls.A popup control containing an ObservableList of menu items.Base class for all user interface controls.DateCell is used byDatePicker
to render the individual grid cells in the calendar month.The DatePicker control allows the user to enter a date as text or to select a date from a calendar popup.An HTML like label which can be a graphic and/or text which responds to rollovers and clicks.An implementation ofCell
which contains an index property which maps into the data model underlying the visualization.Label is a non-editable text control.A LabeledControl
is one which has as part of its user interface a textual content associated with it.A ListView displays a horizontal or vertical list of items from which the user may select, or with which the user may interact.A MenuBar control traditionally is placed at the very top of the user interface, and embedded within it areMenus
.MenuButton is a button which, when clicked or pressed, will show aContextMenu
.A Pagination control is used for navigation between pages of a single content, which has been divided into smaller parts.A specialization of the ProgressIndicator which is represented as a horizontal bar.A circular control which is used for indicating progress, either infinite (aka indeterminate) or finite.RadioButtons create a series of items where only one item can be selected.Either a horizontal or vertical bar with increment and decrement buttons and a "thumb" with which the user can interact.A Control that provides a scrolled, clipped viewport of its contents.A horizontal or vertical separator line.An interface for defining the visual representation of user interface controls.Base implementation class for defining the visual representation of user interface controls by defining a scene graph of nodes to represent theskin
.The Slider Control is used to display a continuous or discrete range of valid numeric choices and allows the user to interact with the control.A single line text field that lets the user select a number or an object value from an ordered sequence.The SplitMenuButton, like theMenuButton
is closely associated with the concept of selecting aMenuItem
from a menu.A control that has two or more sides, each separated by a divider, which can be dragged by the user to give more space to one of the sides, resulting in the other side shrinking by an equal amount.Represents a single row/column intersection in aTableView
.ATableView
is made up of a number of TableColumn instances.Table-like controls (such asTableView
andTreeTableView
) are made up of zero or more instances of a concrete TableColumnBase subclass (TableColumn
andTreeTableColumn
, respectively).TableRow is anIndexedCell
, but rarely needs to be used by developers creating TableView instances.The TableView control is designed to visualize an unlimited number of rows of data, broken out into columns.A control that allows switching between a group ofTabs
.Text input component that allows a user to enter multiple lines of plain text.Text input component that allows a user to enter a single line of unformatted text.Abstract base class for text input controls.A TitledPane is a panel with a title that can be opened and closed.AToggleButton
is a specialized control which has the ability to be selected.A ToolBar is a control which displays items horizontally or vertically.Tooltips are common UI elements which are typically used for showing additional information about a Node in the scenegraph when the Node is hovered over by the mouse.Represents a single row/column intersection in aTreeTableView
.ATreeTableView
is made up of a number of TreeTableColumn instances.TreeTableRow is anIndexedCell
, but rarely needs to be used by developers creating TreeTableView instances.The TreeTableView control is designed to visualize an unlimited number of rows of data, broken out into columns.The TreeView control provides a view on to a tree root (of typeTreeItem
). -
ClassDescriptionBase class for all user interface controls.An interface for defining the visual representation of user interface controls.Base implementation class for defining the visual representation of user interface controls by defining a scene graph of nodes to represent the
skin
.The Skinnable interface is implemented by theControl
class, and therefore is implemented by all Control implementations.