Java Reference
In-Depth Information
Figure 3-21. The Library Panel in search mode
Once a container or a node is found, you can drag it to the Content Panel, drag it to the Hierarchy tree in the
Document Panel, or double-click it. Bringing containers to the Content Panel and then populating the containers with
controls and other nodes is how you build up a UI in the JavaFX SceneBuilder.
To the right of the search box is a menu button that contains several menu items and a submenu that alters
the Library Panel's behavior. Figure 3-22 shows what is available in this menu button. The View as List menu item
changes the Library Panel from displaying its nodes in several sections into displaying its nodes all together without
sections. The View as Sections changes the Library Panel from displaying its nodes in one list into displaying its nodes
in several sections. The Import JAR/FXML File menu item allows you to import an external jar file or FXML file into
JavaFX SceneBuilder as a custom component. The Import Selection menu item allows you to import the currently
selected nodes into JavaFX SceneBuilder as custom components. The Custom Library Folder submenu contains two
menu items. The Reveal in Explorer menu item opens the folder that holds the custom components in the operating
system's File Explorer (or Finder), allowing you to remove any imported custom libraries. The Show JAR Analysis
Report menu item displays a report showing JavaFX SceneBuilder's assessment of the imported jar files.
Search WWH ::




Custom Search