Release NeitzelLib 1.0.1 with declarative DataGrid controls and saved setups

This commit is contained in:
2026-11-18 08:31:03 +01:00
parent 91d9cdccaa
commit 257e0edb28
66 changed files with 6378 additions and 273 deletions
+7
View File
@@ -24,3 +24,10 @@ container.getChildren().add(quantity);
```
Import `javafx.scene.control.Spinner` and `de.neitzel.fx.control.IntegerSpinners`; `container` is your Pane. Read `quantity.getValue()` to obtain the committed number. Set a programmatic value through `quantity.getValueFactory().setValue(...)`. Use the factory's bounds as UI constraints and keep independent business validation where the value is saved. The helper does not add an FXML binding declaration or create a Model Attribute automatically.
## FXML
Declare `NonNegativeIntegerSpinner` with `minimum`, `maximum`, and `initialValue`
constructor attributes. Bind its writable `number` property with `DirectBinding`;
it shares the value factory property and supports both directions. See the
[FXML controls guide](fxml-controls.md#bounded-integer-spinner).