Uses of Class
javafx.scene.Node
Package
Description
Provides the set of classes for ease of use transition based animations.
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
Provides the public classes for the JavaFX Printing API.
Provides the core set of base
classes for the JavaFX Scene Graph API.
Provides the set of classes for canvas, an immediate mode style of rendering API.
The JavaFX User Interface provides a set of chart components that
are a very convenient way for data visualization.
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
Provides the set of classes for loading and displaying images.
Provides the set of classes for mouse and keyboard input event handling.
Provides classes to support user interface layout.
Provides the set of classes for integrating audio and video into Java FX
Applications.
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
Provides the set of classes for fonts and renderable Text Node.
This package provides means for loading and displaying Web content.
Provides the top-level container classes for JavaFX content.
-
Uses of Node in javafx.animation
Modifier and TypeMethodDescriptionfinal Node
FadeTransition.getNode()
Gets the value of thenode
property.final Node
ParallelTransition.getNode()
Gets the value of thenode
property.final Node
PathTransition.getNode()
Gets the value of thenode
property.final Node
RotateTransition.getNode()
Gets the value of thenode
property.final Node
ScaleTransition.getNode()
Gets the value of thenode
property.final Node
SequentialTransition.getNode()
Gets the value of thenode
property.final Node
TranslateTransition.getNode()
Gets the value of thenode
property.protected Node
Transition.getParentTargetNode()
Returns the first non-null
targetNode
in the parent hierarchy of thisTransition
, ornull
if such a node is not found.Modifier and TypeMethodDescriptionfinal ObjectProperty<Node>
FadeTransition.nodeProperty()
The target node of thisTransition
.final ObjectProperty<Node>
ParallelTransition.nodeProperty()
final ObjectProperty<Node>
PathTransition.nodeProperty()
The target node of thisPathTransition
.final ObjectProperty<Node>
RotateTransition.nodeProperty()
The target node of thisRotateTransition
.final ObjectProperty<Node>
ScaleTransition.nodeProperty()
The target node of thisScaleTransition
.final ObjectProperty<Node>
SequentialTransition.nodeProperty()
final ObjectProperty<Node>
TranslateTransition.nodeProperty()
The target node of thisTranslateTransition
.Modifier and TypeMethodDescriptionfinal void
Sets the value of thenode
property.final void
Sets the value of thenode
property.final void
Sets the value of thenode
property.final void
Sets the value of thenode
property.final void
Sets the value of thenode
property.final void
Sets the value of thenode
property.final void
Sets the value of thenode
property.ModifierConstructorDescriptionFadeTransition
(Duration duration, Node node) The constructor ofFadeTransition
ParallelTransition
(Node node) The constructor ofParallelTransition
.ParallelTransition
(Node node, Animation... children) The constructor ofParallelTransition
.PathTransition
(Duration duration, Shape path, Node node) The constructor ofPathTransition
.RotateTransition
(Duration duration, Node node) The constructor ofRotateTransition
ScaleTransition
(Duration duration, Node node) The constructor ofScaleTransition
SequentialTransition
(Node node) The constructor ofSequentialTransition
.SequentialTransition
(Node node, Animation... children) The constructor ofSequentialTransition
.TranslateTransition
(Duration duration, Node node) The constructor ofTranslateTransition
-
Uses of Node in javafx.css
Modifier and TypeMethodDescriptiondefault Node
Styleable.getStyleableNode()
Returns the Node that represents this Styleable object. -
Uses of Node in javafx.embed.swing
Modifier and TypeClassDescriptionclass
This class is used to embed a Swing content into a JavaFX application. -
Uses of Node in javafx.print
Modifier and TypeMethodDescriptionboolean
PrinterJob.printPage
(PageLayout pageLayout, Node node) Print the specified node using the specified page layout.boolean
Print the specified node. -
Uses of Node in javafx.scene
Modifier and TypeClassDescriptionclass
A light that illuminates an object from all directions equally regardless of its position and orientation.class
Base class for a camera used to render a scene.class
A light that illuminates an object from a specific direction.class
AGroup
node contains an ObservableList of children that are rendered in order whenever this node is rendered.class
TheLightBase
class is the base class for all objects that represent a form of light source.class
Specifies a parallel camera for rendering a scene without perspective correction.class
The base class for all nodes that have children in the scene graph.class
Specifies a perspective camera for rendering a scene.class
A light source that radiates light equally in all directions away from itself.class
A light source that radiates light in a cone in a specific direction away from itself.class
TheSubScene
class is the container for content in a scene graph.Modifier and TypeMethodDescriptionParent.getManagedChildren()
Gets the list of all managed children of thisParent
.Modifier and TypeMethodDescriptionfinal Node
Node.getClip()
Gets the value of theclip
property.final Node
Scene.getFocusOwner()
Gets the value of thefocusOwner
property.Finds thisNode
, or the first sub-node, based on the given CSS selector.Looks for any node within the scene graph based on the specified CSS selector.Modifier and TypeMethodDescriptionfinal ObjectProperty<Node>
Node.clipProperty()
Specifies aNode
to use to define the clipping shape for this Node.final ReadOnlyObjectProperty<Node>
Scene.focusOwnerProperty()
The scene's current focus owner node.Group.getChildren()
Gets the list of children of thisGroup
.protected ObservableList<Node>
Parent.getChildren()
Gets the list of children of thisParent
.Parent.getChildrenUnmodifiable()
Gets the list of children of thisParent
as a read-only list.LightBase.getExclusionScope()
Gets the list of nodes that specifies the hierarchical exclusion scope of this light.LightBase.getScope()
Gets the list of nodes that specifies the hierarchical scope of this light.Finds allNode
s, including this one and any children, which match the given CSS selector.Modifier and TypeMethodDescriptionfinal void
Sets the value of theclip
property.ModifierConstructorDescriptionGroup
(Collection<Node> children) Constructs a group consisting of the given children. -
Uses of Node in javafx.scene.canvas
Modifier and TypeClassDescriptionclass
Canvas
is an image that can be drawn on using a set of graphics commands provided by aGraphicsContext
. -
Uses of Node in javafx.scene.chart
Modifier and TypeClassDescriptionclass
AreaChart<X,
Y> AreaChart - Plots the area between the line that connects the data points and the 0 line on the Y axis.class
Axis<T>
Base class for all axes in JavaFX that represents an axis drawn on a chart area.class
BarChart<X,
Y> A chart that plots bars indicating data values for a category.class
BubbleChart<X,
Y> Chart type that plots bubbles for the data points in a series.final class
A axis implementation that will works on string categories where each value as a unique category(tick mark) along the axis.class
Base class for all charts.class
LineChart<X,
Y> Line Chart plots a line connecting the data points in a series.final class
An axis class that plots a range of numbers with major tick marks every tickUnit.class
Displays a PieChart.class
ScatterChart<X,
Y> Chart type that plots symbols for the data points in a series.class
StackedAreaChart<X,
Y> StackedAreaChart is a variation ofAreaChart
that displays trends of the contribution of each value.class
StackedBarChart<X,
Y> StackedBarChart is a variation ofBarChart
that plots bars indicating data values for a category.class
An axis whose data is defined as Numbers.class
XYChart<X,
Y> Chart base class for all 2 axis charts.Modifier and TypeMethodDescriptionprotected final Node
Chart.getLegend()
Gets the value of thelegend
property.PieChart.Data.getNode()
Returns the node that represents the pie slice.final Node
XYChart.Data.getNode()
Gets the value of thenode
property.final Node
XYChart.Series.getNode()
Gets the value of thenode
property.Modifier and TypeMethodDescriptionprotected ObservableList<Node>
Chart.getChartChildren()
Modifiable and observable list of all content in the chart.protected ObservableList<Node>
XYChart.getPlotChildren()
Modifiable and observable list of all content in the plot.protected final ObjectProperty<Node>
Chart.legendProperty()
The node to display as the Legend.PieChart.Data.nodeProperty()
Readonly access to the node that represents the pie slice.final ObjectProperty<Node>
XYChart.Data.nodeProperty()
The node to display for this data item.final ObjectProperty<Node>
XYChart.Series.nodeProperty()
The node to display for this series. -
Uses of Node in javafx.scene.control
Modifier and TypeClassDescriptionclass
An accordion is a group ofTitlePanes
.class
A simple button control.class
A ButtonBar is essentially aHBox
, with the additional functionality for operating system specific button placement.class
Base class for button-like UI Controls, including Hyperlinks, Buttons, ToggleButtons, CheckBoxes, and RadioButtons.class
Cell<T>
class
A tri-state selection Control typically skinned as a box with a checkmark or tick mark when checked.class
ChoiceBox<T>
The ChoiceBox is used for presenting the user with a relatively small set of predefined choices from which they may choose.class
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.class
ComboBox<T>
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.class
ComboBoxBase<T>
Abstract base class for ComboBox-like controls.class
Base class for all user interface controls.class
DateCell is used byDatePicker
to render the individual grid cells in the calendar month.class
The DatePicker control allows the user to enter a date as text or to select a date from a calendar popup.class
DialogPane should be considered to be the root node displayed within aDialog
instance.class
An HTML like label which can be a graphic and/or text which responds to rollovers and clicks.class
IndexedCell<T>
An implementation ofCell
which contains an index property which maps into the data model underlying the visualization.class
Label is a non-editable text control.class
A LabeledControl
is one which has as part of its user interface a textual content associated with it.class
ListCell<T>
class
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.class
A MenuBar control traditionally is placed at the very top of the user interface, and embedded within it areMenus
.class
MenuButton is a button which, when clicked or pressed, will show aContextMenu
.class
A Pagination control is used for navigation between pages of a single content, which has been divided into smaller parts.class
Text field that masks entered characters.protected class
The link between the popup window and the scenegraph.class
A specialization of the ProgressIndicator which is represented as a horizontal bar.class
A circular control which is used for indicating progress, either infinite (aka indeterminate) or finite.class
RadioButtons create a series of items where only one item can be selected.class
Either a horizontal or vertical bar with increment and decrement buttons and a "thumb" with which the user can interact.class
A Control that provides a scrolled, clipped viewport of its contents.class
A horizontal or vertical separator line.class
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.class
Spinner<T>
A single line text field that lets the user select a number or an object value from an ordered sequence.class
The SplitMenuButton, like theMenuButton
is closely associated with the concept of selecting aMenuItem
from a menu.class
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.class
TableCell<S,
T> Represents a single row/column intersection in aTableView
.class
TableRow<T>
TableRow is anIndexedCell
, but rarely needs to be used by developers creating TableView instances.class
TableView<S>
The TableView control is designed to visualize an unlimited number of rows of data, broken out into columns.class
A control that allows switching between a group ofTabs
.class
Text input component that allows a user to enter multiple lines of plain text.class
Text input component that allows a user to enter a single line of unformatted text.class
Abstract base class for text input controls.class
A TitledPane is a panel with a title that can be opened and closed.class
AToggleButton
is a specialized control which has the ability to be selected.class
A ToolBar is a control which displays items horizontally or vertically.class
TreeCell<T>
class
TreeTableCell<S,
T> Represents a single row/column intersection in aTreeTableView
.class
TreeTableRow<T>
TreeTableRow is anIndexedCell
, but rarely needs to be used by developers creating TreeTableView instances.class
The TreeTableView control is designed to visualize an unlimited number of rows of data, broken out into columns.class
TreeView<T>
The TreeView control provides a view on to a tree root (of typeTreeItem
).Modifier and TypeMethodDescriptionprotected Node
DialogPane.createButton
(ButtonType buttonType) This method can be overridden by subclasses to create a custom button that will subsequently inserted into the DialogPane button area (created via theDialogPane.createButtonBar()
method, but mostly commonly it is an instance ofButtonBar
.protected Node
DialogPane.createButtonBar()
This method can be overridden by subclasses to provide the button bar.protected Node
DialogPane.createDetailsButton()
This method can be overridden by subclasses to create a custom details button.final Node
CustomMenuItem.getContent()
Gets the value of thecontent
property.final Node
DialogPane.getContent()
Returns the dialog content as a Node (even if it was set as a String usingDialogPane.setContentText(String)
- this was simply transformed into aNode
(most probably aLabel
).final Node
ScrollPane.getContent()
Gets the value of thecontent
property.final Node
Tab.getContent()
The content associated with the tab.final Node
TitledPane.getContent()
The content of the TitledPane.final Node
TreeCell.getDisclosureNode()
Returns the current disclosure node set in this TreeCell.final Node
TreeTableRow.getDisclosureNode()
Returns the current disclosure node set in this TreeTableCell.final Node
DialogPane.getExpandableContent()
Returns the dialog expandable content node, if one is set, or null otherwise.final Node
Dialog.getGraphic()
Gets the value of thegraphic
property.final Node
DialogPane.getGraphic()
Gets the value of thegraphic
property.final Node
Labeled.getGraphic()
Gets the value of thegraphic
property.final Node
MenuItem.getGraphic()
Gets the value of thegraphic
property.final Node
Tab.getGraphic()
The graphic shown in the tab.final Node
TableColumnBase.getGraphic()
Gets the value of thegraphic
property.final Node
Tooltip.getGraphic()
Gets the value of thegraphic
property.final Node
TreeItem.getGraphic()
Returns the node that is generally shown to the left of the value property.final Node
DialogPane.getHeader()
Node which acts as the dialog pane header.final Node
Label.getLabelFor()
Gets the value of thelabelFor
property.Skin.getNode()
Gets the Node which represents this Skin.final Node
SkinBase.getNode()
Gets the Node which represents this Skin.final Node
ComboBox.getPlaceholder()
Gets the value of theplaceholder
property.final Node
ListView.getPlaceholder()
Gets the value of theplaceholder
property.final Node
TableView.getPlaceholder()
Gets the value of theplaceholder
property.final Node
TreeTableView.getPlaceholder()
Gets the value of theplaceholder
property.final Node
TableColumnBase.getSortNode()
Gets the value of thesortNode
property.final Node
DialogPane.lookupButton
(ButtonType buttonType) This method provides a way in which developers may retrieve the actual Node for a givenButtonType
(assuming it is part of thebutton types
list).Modifier and TypeMethodDescriptionfinal ObjectProperty<Node>
CustomMenuItem.contentProperty()
The node to display within this CustomMenuItem.final ObjectProperty<Node>
DialogPane.contentProperty()
Property representing the content area of the dialog.final ObjectProperty<Node>
ScrollPane.contentProperty()
The node used as the content of this ScrollPane.final ObjectProperty<Node>
Tab.contentProperty()
The content associated with the tab.final ObjectProperty<Node>
TitledPane.contentProperty()
The content of the TitledPane.final ObjectProperty<Node>
TreeCell.disclosureNodeProperty()
The disclosure node is commonly seen represented as a triangle that rotates on screen to indicate whether or not the TreeItem that it is placed beside is expanded or collapsed.final ObjectProperty<Node>
TreeTableRow.disclosureNodeProperty()
The disclosure node is commonly seen represented as a triangle that rotates on screen to indicate whether or not the TreeItem that it is placed beside is expanded or collapsed.final ObjectProperty<Node>
DialogPane.expandableContentProperty()
A property that represents the dialog expandable content area.final ObservableList<Node>
ButtonBar.getButtons()
Placing buttons inside this ObservableList will instruct the ButtonBar to position them relative to each other based on their specifiedButtonBar.ButtonData
.final ObservableList<Node>
SkinBase.getChildren()
Returns the children of the skin.SplitPane.getItems()
Returns an ObservableList which can be use to modify the contents of the SplitPane.final ObservableList<Node>
ToolBar.getItems()
The items contained in theToolBar
.Pagination.getPageFactory()
Returns the page factory callback function.final ObjectProperty<Node>
Dialog.graphicProperty()
The dialog graphic, presented either in the header, if one is showing, or to the left of thecontent
.final ObjectProperty<Node>
DialogPane.graphicProperty()
The dialog graphic, presented either in the header, if one is showing, or to the left of thecontent
.final ObjectProperty<Node>
Labeled.graphicProperty()
An optional icon for the Labeled.final ObjectProperty<Node>
MenuItem.graphicProperty()
An optional graphic for theMenuItem
.final ObjectProperty<Node>
Tab.graphicProperty()
The graphic in the tab.final ObjectProperty<Node>
TableColumnBase.graphicProperty()
The graphic to show in the table column to allow the user to indicate graphically what is in the column.final ObjectProperty<Node>
Tooltip.graphicProperty()
An optional icon for the Tooltip.final ObjectProperty<Node>
TreeItem.graphicProperty()
The node that is generally shown to the left of the value property.final ObjectProperty<Node>
DialogPane.headerProperty()
Property representing the header area of the dialog pane.Label.labelForProperty()
A Label can act as a label for a different Control or Node.final ObjectProperty<Callback<Integer,
Node>> Pagination.pageFactoryProperty()
The pageFactory callback function that is called when a page has been selected by the application or the user.final ObjectProperty<Node>
ComboBox.placeholderProperty()
This Node is shown to the user when the ComboBox has no content to show.final ObjectProperty<Node>
ListView.placeholderProperty()
TheNode
to show to the user when theListView
has no content to show.final ObjectProperty<Node>
TableView.placeholderProperty()
This Node is shown to the user when the table has no content to show.final ObjectProperty<Node>
TreeTableView.placeholderProperty()
This Node is shown to the user when the table has no content to show.final ObjectProperty<Node>
TableColumnBase.sortNodeProperty()
The node to use as the "sort arrow", shown to the user in situations where the table column is part of the sort order.Modifier and TypeMethodDescriptionstatic ButtonBar.ButtonData
ButtonBar.getButtonData
(Node button) Returns the previously set ButtonData property on the given button.static void
static boolean
ButtonBar.isButtonUniformSize
(Node button) Returns whether the given node is part of the uniform sizing calculations or not.static Boolean
SplitPane.isResizableWithParent
(Node node) Return true if the node is resizable when the parent container is resized false otherwise.protected void
SkinBase.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, HPos halignment, VPos valignment) Utility method which lays out the child within an area of this skin defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
SkinBase.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, boolean fillWidth, boolean fillHeight, HPos halignment, VPos valignment) Utility method which lays out the child within an area of this skin defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
SkinBase.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment) Utility method which lays out the child within an area of this skin defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
SkinBase.positionInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, HPos halignment, VPos valignment) Utility method which positions the child within an area of this skin defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
SkinBase.positionInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment) Utility method which positions the child within an area of this skin defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.static void
ButtonBar.setButtonData
(Node button, ButtonBar.ButtonData buttonData) Sets the given ButtonData on the given button.static void
ButtonBar.setButtonUniformSize
(Node button, boolean uniformSize) By default all buttons are uniformly sized in a ButtonBar, meaning that all buttons take the width of the widest button.final void
CustomMenuItem.setContent
(Node value) Sets the value of thecontent
property.final void
DialogPane.setContent
(Node content) Assign dialog content.final void
ScrollPane.setContent
(Node value) Sets the value of thecontent
property.final void
Tab.setContent
(Node value) The content to show within the main TabPane area.final void
TitledPane.setContent
(Node value) The content of the TitlePane which can be any Node such as UI controls or groups of nodes added to a layout container.final void
TreeCell.setDisclosureNode
(Node value) The node to use as the "disclosure" triangle, or toggle, used for expanding and collapsing items.final void
TreeTableRow.setDisclosureNode
(Node value) The node to use as the "disclosure" triangle, or toggle, used for expanding and collapsing items.final void
DialogPane.setExpandableContent
(Node content) Sets the dialog expandable content node, or null if no expandable content needs to be shown.final void
Dialog.setGraphic
(Node graphic) Sets the dialog graphic, which will be displayed either in the header, if one is showing, or to the left of thecontent
.final void
DialogPane.setGraphic
(Node graphic) Sets the dialog graphic, which will be displayed either in the header, if one is showing, or to the left of thecontent
.final void
Labeled.setGraphic
(Node value) Sets the value of thegraphic
property.final void
MenuItem.setGraphic
(Node value) Sets the value of thegraphic
property.final void
Tab.setGraphic
(Node value) Sets the graphic to show in the tab to allow the user to differentiate between the function of each tab.final void
TableColumnBase.setGraphic
(Node value) Sets the value of thegraphic
property.final void
Tooltip.setGraphic
(Node value) Sets the value of thegraphic
property.final void
TreeItem.setGraphic
(Node value) Sets the node that is generally shown to the left of the value property.final void
Assigns the dialog pane header.final void
Label.setLabelFor
(Node value) Sets the value of thelabelFor
property.final void
ComboBox.setPlaceholder
(Node value) Sets the value of theplaceholder
property.final void
ListView.setPlaceholder
(Node value) Sets the value of theplaceholder
property.final void
TableView.setPlaceholder
(Node value) Sets the value of theplaceholder
property.final void
TreeTableView.setPlaceholder
(Node value) Sets the value of theplaceholder
property.static void
SplitPane.setResizableWithParent
(Node node, Boolean value) Sets a node in the SplitPane to be resizable or not when the SplitPane is resized.final void
TableColumnBase.setSortNode
(Node value) Sets the value of thesortNode
property.void
Shows theContextMenu
at the specified screen coordinates.void
Shows theContextMenu
relative to the given anchor node, on the side specified by theside
parameter, and offset by the givendx
anddy
values for the x-axis and y-axis, respectively.static void
Modifier and TypeMethodDescriptionfinal void
Pagination.setPageFactory
(Callback<Integer, Node> value) Sets the page factory callback function.ModifierConstructorDescriptionCreates a button with the specified text and icon for its label.ButtonBase
(String text, Node graphic) Create a ButtonBase with the given text and graphic.CheckBoxTreeItem
(T value, Node graphic) Creates a CheckBoxTreeItem with the value property set to the provided object, and the graphic set to the provided Node.CheckBoxTreeItem
(T value, Node graphic, boolean selected) Creates a CheckBoxTreeItem with the value property set to the provided object, the graphic set to the provided Node, and the initial state of theCheckBoxTreeItem.selectedProperty()
set to the provided boolean value.CheckBoxTreeItem
(T value, Node graphic, boolean selected, boolean independent) Creates a CheckBoxTreeItem with the value property set to the provided object, the graphic set to the provided Node, the initial state of theCheckBoxTreeItem.selectedProperty()
set to the provided boolean value, and the initial state of theindependent
property to the provided boolean value.CheckMenuItem
(String text, Node graphic) Constructs a CheckMenuItem and sets the display text with the specified text and sets the graphicNode
to the given node.CustomMenuItem
(Node node) Constructs a CustomMenuItem and initializes its content with the node specified.CustomMenuItem
(Node node, boolean hideOnClick) Constructs a CustomMenuItem and sets the content to the node specified.Create a hyperlink with the specified text and graphic as its label.Creates a Label with the supplied text and graphic.Creates a Label with text and a graphicConstructs a Menu and sets the display text with the specified text and sets the graphicNode
to the given node.MenuButton
(String text, Node graphic) Creates a new empty menu button with the given text and graphic to display on the button.MenuButton
(String text, Node graphic, MenuItem... items) Creates a new menu button with the given text and graphic to display on the button, and inserts the given items into theitems
list.Constructor s MenuItem and sets the display text with the specified text and sets the graphicNode
to the given node.RadioMenuItem
(String text, Node graphic) Constructs a RadioMenuItem and sets the display text with the specified text and sets the graphicNode
to the given node.ScrollPane
(Node content) Creates a new ScrollPane.Creates a new SplitPane with the given items set as the content to split between one or more dividers.Creates a tab with a text title and the specified content node.TitledPane
(String title, Node content) Creates a new TitledPane with a title and content.ToggleButton
(String text, Node graphic) Creates a toggle button with the specified text and icon for its label.Creates a tool bar populated with the specified nodes.Creates a TreeItem with the value property set to the provided object, and the graphic set to the provided Node. -
Uses of Node in javafx.scene.control.cell
Modifier and TypeClassDescriptionclass
class
CheckBoxTableCell<S,
T> class
class
A class containing aTreeTableCell
implementation that draws aCheckBox
node inside the cell, optionally with a label to indicate what the checkbox represents.class
class
ChoiceBoxTableCell<S,
T> class
class
A class containing aTreeTableCell
implementation that draws aChoiceBox
node inside the cell.class
class
ComboBoxTableCell<S,
T> class
class
A class containing aTreeTableCell
implementation that draws aComboBox
node inside the cell.class
A class containing aTableCell
implementation that draws aProgressBar
node inside the cell.class
A class containing aTreeTableCell
implementation that draws aProgressBar
node inside the cell.class
class
TextFieldTableCell<S,
T> class
class
-
Uses of Node in javafx.scene.control.skin
Modifier and TypeClassDescriptionclass
This class is used to construct the header of a TableView.class
Region responsible for painting a single column header.class
Region responsible for painting the entire row of column headers.class
VirtualFlow<T extends IndexedCell>
Implementation of a virtualized container using a cell based mechanism.Modifier and TypeMethodDescriptionColorPickerSkin.getDisplayNode()
This method should return a Node that will be positioned within the ComboBox 'button' area.abstract Node
ComboBoxBaseSkin.getDisplayNode()
This method should return a Node that will be positioned within the ComboBox 'button' area.ComboBoxListViewSkin.getDisplayNode()
This method should return a Node that will be positioned within the ComboBox 'button' area.DatePickerSkin.getDisplayNode()
This method should return a Node that will be positioned within the ComboBox 'button' area.ContextMenuSkin.getNode()
Gets the Node which represents this Skin.TooltipSkin.getNode()
Gets the Node which represents this Skin.protected Node
ColorPickerSkin.getPopupContent()
This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.ComboBoxListViewSkin.getPopupContent()
This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.protected abstract Node
ComboBoxPopupControl.getPopupContent()
This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.DatePickerSkin.getPopupContent()
This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.Modifier and TypeMethodDescriptionprotected ObjectProperty<Node>
TableRowSkinBase.graphicProperty()
Returns the graphic to draw on the inside of the disclosure node.Modifier and TypeMethodDescriptionprotected void
TextAreaSkin.addHighlight
(List<? extends Node> nodes, int start) Adds highlight for composed text from Input Method.protected void
TextFieldSkin.addHighlight
(List<? extends Node> nodes, int start) Adds highlight for composed text from Input Method.protected abstract void
TextInputControlSkin.addHighlight
(List<? extends Node> nodes, int start) Adds highlight for composed text from Input Method.protected void
TextAreaSkin.removeHighlight
(List<? extends Node> nodes) Removes highlight for composed text from Input Method.protected void
TextFieldSkin.removeHighlight
(List<? extends Node> nodes) Removes highlight for composed text from Input Method.protected abstract void
TextInputControlSkin.removeHighlight
(List<? extends Node> nodes) Removes highlight for composed text from Input Method. -
Uses of Node in javafx.scene.image
-
Uses of Node in javafx.scene.input
Modifier and TypeMethodDescriptionfinal Node
PickResult.getIntersectedNode()
Returns the intersected node.Mnemonic.getNode()
Returns theNode
ModifierConstructorDescriptionMnemonic
(Node node, KeyCombination keyCombination) PickResult
(Node node, Point3D point, double distance) Creates a new instance of PickResult for a non-3d-shape target.PickResult
(Node node, Point3D point, double distance, int face, Point2D texCoord) Creates a new instance of PickResult.PickResult
(Node node, Point3D point, double distance, int face, Point3D normal, Point2D texCoord) Creates a new instance of PickResult. -
Uses of Node in javafx.scene.layout
Modifier and TypeClassDescriptionclass
AnchorPane allows the edges of child nodes to be anchored to an offset from the anchor pane's edges.class
BorderPane lays out children in top, left, right, bottom, and center positions.class
FlowPane lays out its children in a flow that wraps at the flowpane's boundary.class
GridPane lays out its children within a flexible grid of rows and columns.class
HBox lays out its children in a single horizontal row.class
Base class for layout panes which need to expose the children list as public so that users of the subclass can freely add/remove children.class
Region is the base class for all JavaFX Node-based UI Controls, and all layout containers.class
StackPane lays out its children in a back-to-front stack.class
TilePane lays out its children in a grid of uniformly sized "tiles".class
VBox lays out its children in a single vertical column.Modifier and TypeMethodDescriptionfinal Node
BorderPane.getBottom()
Gets the value of thebottom
property.final Node
BorderPane.getCenter()
Gets the value of thecenter
property.final Node
BorderPane.getLeft()
Gets the value of theleft
property.final Node
BorderPane.getRight()
Gets the value of theright
property.final Node
BorderPane.getTop()
Gets the value of thetop
property.Modifier and TypeMethodDescriptionfinal ObjectProperty<Node>
BorderPane.bottomProperty()
The node placed on the bottom edge of this border pane.final ObjectProperty<Node>
BorderPane.centerProperty()
The node placed in the center of this border pane.Pane.getChildren()
final ObjectProperty<Node>
BorderPane.leftProperty()
The node placed on the left edge of this border pane.final ObjectProperty<Node>
BorderPane.rightProperty()
The node placed on the right edge of this border pane.final ObjectProperty<Node>
BorderPane.topProperty()
The node placed on the top edge of this border pane.Modifier and TypeMethodDescriptionvoid
Adds a child to the gridpane at the specified [column, row] position.void
Adds a child to the gridpane at the specified [column, row] position and spans.void
Convenience method for placing the specified nodes sequentially in a given column of the gridpane.void
Convenience method for placing the specified nodes sequentially in a given row of the gridpane.static void
AnchorPane.clearConstraints
(Node child) Removes all anchor pane constraints from the child node.static void
BorderPane.clearConstraints
(Node child) Removes all border pane constraints from the child node.static void
FlowPane.clearConstraints
(Node child) Removes all flowpane constraints from the child node.static void
GridPane.clearConstraints
(Node child) Removes all gridpane constraints from the child node.static void
HBox.clearConstraints
(Node child) Removes all hbox constraints from the child node.static void
StackPane.clearConstraints
(Node child) Removes all stackpane constraints from the child node.static void
TilePane.clearConstraints
(Node child) Removes all tilepane constraints from the child node.static void
VBox.clearConstraints
(Node child) Removes all vbox constraints from the child node.static Pos
BorderPane.getAlignment
(Node child) Returns the child's alignment constraint if set.static Pos
StackPane.getAlignment
(Node child) Returns the child's alignment constraint if set.static Pos
TilePane.getAlignment
(Node node) Returns the child's alignment constraint if set.static Double
AnchorPane.getBottomAnchor
(Node child) Returns the child's bottom anchor constraint if set.static Integer
GridPane.getColumnIndex
(Node child) Returns the child's column index constraint if set.static Integer
GridPane.getColumnSpan
(Node child) Returns the child's column-span constraint if set.static HPos
GridPane.getHalignment
(Node child) Returns the child's halignment constraint if set.static Priority
Returns the child's hgrow constraint if set.static Priority
Returns the child's hgrow constraint if set.static Double
AnchorPane.getLeftAnchor
(Node child) Returns the child's left anchor constraint if set.static Insets
Returns the child's margin constraint if set.static Insets
Returns the child's margin constraint if set.static Insets
Returns the child's margin constraint if set.static Insets
Returns the child's margin constraint if set.static Insets
Returns the child's margin constraints if set.static Insets
Returns the child's margin constraint if set.static Insets
Returns the child's margin property if set.static Double
AnchorPane.getRightAnchor
(Node child) Returns the child's right anchor constraint if set.static Integer
GridPane.getRowIndex
(Node child) Returns the child's row index constraint if set.static Integer
GridPane.getRowSpan
(Node child) Returns the child's row-span constraint if set.static Double
AnchorPane.getTopAnchor
(Node child) Returns the child's top anchor constraint if set.static VPos
GridPane.getValignment
(Node child) Returns the child's valignment constraint if set.static Priority
Returns the child's vgrow constraint if set.static Priority
Returns the child's vgrow property if set.static Boolean
GridPane.isFillHeight
(Node child) Returns the child's vertical fill policy if setstatic Boolean
GridPane.isFillWidth
(Node child) Returns the child's horizontal fill policy if setprotected void
Region.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, HPos halignment, VPos valignment) Utility method which lays out the child within an area of this region defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
Region.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, boolean fillWidth, boolean fillHeight, HPos halignment, VPos valignment) Utility method which lays out the child within an area of this region defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.static void
Region.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, boolean fillWidth, boolean fillHeight, HPos halignment, VPos valignment, boolean isSnapToPixel) Utility method which lays out the child within an area of it's parent defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
Region.layoutInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment) Utility method which lays out the child within an area of this region defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.protected void
Region.positionInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, HPos halignment, VPos valignment) Utility method which positions the child within an area of this region defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.static void
Region.positionInArea
(Node child, double areaX, double areaY, double areaWidth, double areaHeight, double areaBaselineOffset, Insets margin, HPos halignment, VPos valignment, boolean isSnapToPixel) Utility method which positions the child within an area of this region defined byareaX
,areaY
,areaWidth
xareaHeight
, with a baseline offset relative to that area.static void
BorderPane.setAlignment
(Node child, Pos value) Sets the alignment for the child when contained by a border pane.static void
StackPane.setAlignment
(Node child, Pos value) Sets the alignment for the child when contained by a stackpane.static void
TilePane.setAlignment
(Node node, Pos value) Sets the alignment for the child when contained by a tilepane.final void
Sets the value of thebottom
property.static void
AnchorPane.setBottomAnchor
(Node child, Double value) Sets the bottom anchor for the child when contained by an anchor pane.final void
Sets the value of thecenter
property.static void
GridPane.setColumnIndex
(Node child, Integer value) Sets the column index for the child when contained by a gridpane so that it will be positioned starting in that column of the gridpane.static void
GridPane.setColumnSpan
(Node child, Integer value) Sets the column span for the child when contained by a gridpane so that it will span that number of columns horizontally.static void
GridPane.setConstraints
(Node child, int columnIndex, int rowIndex) Sets the column,row indeces for the child when contained in a gridpane.static void
GridPane.setConstraints
(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan) Sets the column, row, column-span, and row-span value for the child when contained in a gridpane.static void
GridPane.setConstraints
(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment) Sets the grid position, spans, and alignment for the child when contained in a gridpane.static void
GridPane.setConstraints
(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow) Sets the grid position, spans, and alignment for the child when contained in a gridpane.static void
GridPane.setConstraints
(Node child, int columnIndex, int rowIndex, int columnspan, int rowspan, HPos halignment, VPos valignment, Priority hgrow, Priority vgrow, Insets margin) Sets the grid position, spans, alignment, grow priorities, and margin for the child when contained in a gridpane.static void
GridPane.setFillHeight
(Node child, Boolean value) Sets the vertical fill policy for the child when contained by a gridpane.static void
GridPane.setFillWidth
(Node child, Boolean value) Sets the horizontal fill policy for the child when contained by a gridpane.static void
GridPane.setHalignment
(Node child, HPos value) Sets the horizontal alignment for the child when contained by a gridpane.static void
Sets the horizontal grow priority for the child when contained by a gridpane.static void
Sets the horizontal grow priority for the child when contained by an hbox.final void
Sets the value of theleft
property.static void
AnchorPane.setLeftAnchor
(Node child, Double value) Sets the left anchor for the child when contained by an anchor pane.static void
Sets the margin for the child when contained by a border pane.static void
Sets the margin for the child when contained by a flowpane.static void
Sets the margin for the child when contained by a gridpane.static void
Sets the margin for the child when contained by an hbox.static void
Sets the margin for the child when contained by a stackpane.static void
Sets the margin for the child when contained by a tilepane.static void
Sets the margin for the child when contained by a vbox.final void
Sets the value of theright
property.static void
AnchorPane.setRightAnchor
(Node child, Double value) Sets the right anchor for the child when contained by an anchor pane.static void
GridPane.setRowIndex
(Node child, Integer value) Sets the row index for the child when contained by a gridpane so that it will be positioned starting in that row of the gridpane.static void
GridPane.setRowSpan
(Node child, Integer value) Sets the row span for the child when contained by a gridpane so that it will span that number of rows vertically.final void
Sets the value of thetop
property.static void
AnchorPane.setTopAnchor
(Node child, Double value) Sets the top anchor for the child when contained by an anchor pane.static void
GridPane.setValignment
(Node child, VPos value) Sets the vertical alignment for the child when contained by a gridpane.static void
Sets the vertical grow priority for the child when contained by a gridpane.static void
Sets the vertical grow priority for the child when contained by a vbox.ModifierConstructorDescriptionAnchorPane
(Node... children) Creates an AnchorPane layout with the given children.BorderPane
(Node center) Creates an BorderPane layout with the given Node as the center of the BorderPane.Creates an BorderPane layout with the given Nodes to use for each of the main layout areas of the Border Pane.Creates a horizontal FlowPane layout with the specified hgap/vgap.FlowPane
(Orientation orientation, double hgap, double vgap, Node... children) Creates a FlowPane layout with the specified orientation and hgap/vgap.FlowPane
(Orientation orientation, Node... children) Creates a FlowPane layout with the specified orientation and hgap/vgap = 0.Creates a horizontal FlowPane layout with hgap/vgap = 0.Creates anHBox
layout with the specified spacing between children.Creates anHBox
layout withspacing = 0
.Creates a Pane layout.Creates a StackPane layout with default CENTER alignment.Creates a horizontal TilePane layout with prefColumn = 5 and the specified hgap/vgap.TilePane
(Orientation orientation, double hgap, double vgap, Node... children) Creates a TilePane layout with the specified orientation, hgap/vgap, and prefRows/prefColumns = 5.TilePane
(Orientation orientation, Node... children) Creates a TilePane layout with the specified orientation, prefColumn/prefRows = 5 and hgap/vgap = 0.Creates a horizontal TilePane layout with prefColumn = 5 and hgap/vgap = 0.Creates aVBox
layout with the specified spacing between children.Creates aVBox
layout withspacing = 0
. -
Uses of Node in javafx.scene.media
Modifier and TypeClassDescriptionclass
-
Uses of Node in javafx.scene.shape
Modifier and TypeClassDescriptionclass
TheArc
class represents a 2D arc object, defined by a center point, start angle (in degrees), angular extent (length of the arc in degrees), and an arc type (ArcType.OPEN
,ArcType.CHORD
, orArcType.ROUND
).class
TheBox
class defines a 3 dimensional box with the specified size.class
TheCircle
class creates a new circle with the specified radius and center location measured in pixels.class
TheCubiCurve
class defines a cubic Bézier parametric curve segment in (x,y) coordinate space.class
TheCylinder
class defines a 3 dimensional cylinder with the specified size.class
TheEllipse
class creates a new ellipse with the specified size and location in pixelsclass
This Line represents a line segment in(x,y)
coordinate space.class
TheMeshView
class defines a surface with the specified 3D mesh data.class
ThePath
class represents a simple shape and provides facilities required for basic construction and management of a geometric path.class
Creates a polygon, defined by an array of x,y coordinates.class
Creates a polyline, defined by the array of the segment points.class
TheQuadcurve
class defines a quadratic Bézier parametric curve segment in (x,y) coordinate space.class
TheRectangle
class defines a rectangle with the specified size and location.class
TheShape
class provides definitions of common properties for objects that represent some form of geometric shape.class
TheShape3D
base class provides definitions of common properties for objects that represent some form of 3D geometric shape.class
TheSphere
class defines a 3 dimensional sphere with the specified size.class
TheSVGPath
class represents a simple shape that is constructed by parsing SVG path data from a String. -
Uses of Node in javafx.scene.text
Modifier and TypeClassDescriptionclass
TheText
class defines a node that displays a text.class
A specialized layout for rich text. -
Uses of Node in javafx.scene.web
Modifier and TypeClassDescriptionclass
A control that allows for users to edit text, and apply styling to this text.final class
-
Uses of Node in javafx.stage
Modifier and TypeMethodDescriptionfinal Node
PopupWindow.getOwnerNode()
Gets the value of theownerNode
property.Modifier and TypeMethodDescriptionfinal ObservableList<Node>
Popup.getContent()
The ObservableList ofNode
s to be rendered on thisPopup
.final ReadOnlyObjectProperty<Node>
PopupWindow.ownerNodeProperty()
The node which is the owner of this popup.