Package javafx.scene

Class Parent

java.lang.Object
javafx.scene.Node
javafx.scene.Parent
All Implemented Interfaces:
Styleable, EventTarget
Direct Known Subclasses:
Group, Region, WebView

public abstract class Parent extends Node
The base class for all nodes that have children in the scene graph.

This class handles all hierarchical scene graph operations, including adding/removing child nodes, marking branches dirty for layout and rendering, picking, bounds calculations, and executing the layout pass on each pulse.

There are two direct concrete Parent subclasses

  • Group effects and transforms to be applied to a collection of child nodes.
  • Region class for nodes that can be styled with CSS and layout children.
Since:
JavaFX 2.0