Home
Welcome to the Baradur Project wiki!
Baradur is a very simple project whose goal is to help JavaFX developers to find problems in their scene graph. To provide this feature, Baradur shows a tree-based scene graph viewer, allowing the developer to better understand the data structure of his application. Since the visualization of the scene graph occurs at runtime, Baradur can also show the entire state of the selected object in scene graph. Another useful feature of the tool is the possibility to display, in the scene, the bounding box of the selected element in the tree. With this feature, developers can find invisible nodes, and other important stuff.
Baradur was built as a library, therefore JavaFX developers should add Baradur JAR and it’s dependencies in the classpath of the application to be monitored.
To register a single node in the tool, use the following JavaFX code:
Baradur.getMonitor().registerNode(rectangle, "MyRectangle");
To register all the scene, use the following:
Baradur.getMonitor().registerSceneRootNode(myStage.scene);
To show the scene monitor, use the following:
Baradur.getMonitor().showViewer(true);
==
==
Find out why “Baradur”.
