DervaFX Wiki
DervaGrid
Layout
DervaGrid is the thin GridPane-based layout wrapper for two-column settings panels, form-like rows, and other structured layouts.
Current Methods
add(DervaElement<?> child, int column, int row) : DervaGridadd(DervaElement<?> child, int column, int row, int columnSpan, int rowSpan) : DervaGridremove(DervaElement<?> child) : DervaGridclear() : DervaGridhgap(double value) : DervaGridvgap(double value) : DervaGriddebugGrid(boolean value) : DervaGridspacing(double value) : DervaGridpadding(Insets padding) : DervaGridpadding(double value) : DervaGridalignment(Pos alignment) : DervaGrid
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
- Use DervaFX.grid() for practical row and column placement without leaving the wrapper API.
- DervaGrid is meant to stay small and JavaFX-native rather than becoming a custom layout framework.