Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gluonhq/embeddedscenebuilderdemo
JavaFX container that includes Scene Builder Kit
https://github.com/gluonhq/embeddedscenebuilderdemo
Last synced: about 2 months ago
JSON representation
JavaFX container that includes Scene Builder Kit
- Host: GitHub
- URL: https://github.com/gluonhq/embeddedscenebuilderdemo
- Owner: gluonhq
- License: other
- Created: 2024-10-18T19:19:42.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-25T21:14:14.000Z (2 months ago)
- Last Synced: 2024-10-26T19:56:36.570Z (2 months ago)
- Language: Java
- Size: 562 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Embedded Scene Builder Demo
Simple JavaFX demo application that embeds Scene Builder Kit
## Components
### SceneBuilderPane
It is a `StackPane` that holds the Scene Builder Kit integration by adding a `SplitPane` container with three items:
- to the left, the library section and the document section (that holds hierarchy and controller sections)
- center: the content area
- to the right, the inspector section
in the same way the Scene Builder application does.### SBController
Holds the operations that can be done in the SceneBuilderPane, namely the handlers of some usual actions:
- Copy, Cut, Paste, Duplicate
- Select all, Select none, Delete
- Undo, Redo
- New FXML, Open FXML, Save FXML### DependencyScanner
Scans the modulepath/classpath of the application, and finds out all possible custom JavaFX controls, and adds them to the Custom section of the library.
### DemoApplication
Simple JavaFX application with the SceneBuilderPane node and some buttons to interact with it.
The app uses [ControlsFX](https://github.com/controlsfx/controlsfx) just to show how the Custom section of the library is generated.
## Run
Using JDK 21+, to run the application, open a terminal and run the following:
```
git clone https://github.com/gluonhq/EmbeddedSceneBuilderDemo.git
cd EmbeddedSceneBuilderDemo
mvn javafx:run
```