DervaFX Wiki
DervaRoot
Container
DervaRoot is the normal top-level host for DervaFX content. Add windows or layouts to it, then attach its node to your JavaFX scene graph.
Current Methods
getPane() : Paneadd(DervaElement<?> child) : DervaRootremove(DervaElement<?> child) : DervaRootclear() : DervaRootpadding(Insets padding) : DervaRoot
Inherited DervaElement Helpers
position(double x, double y)size(double width, double height)minSize(double width, double height)maxSize(double width, double height)padding(Insets insets)padding(double value)spacing(double value)align(Pos pos)fillWidth()fillHeight()text(String value)visible(boolean value)enabled(boolean value)cssClass(String className)style(String inlineStyle)anchorFill()
Notes
- The common pattern is DervaFX.root().anchorFill() inside an AnchorPane host.
- This is the main surface for stacking windows and content wrappers.