The JavaFX Scene Builder detailed instructions for use of the set piece (1) - Document Document

table of Contents

Document Preview window

Hierarchy panel

Controller panel

other

Info

fx:id

Node Id


 

Document Preview window

Document window FXML main structural components and a display controller class configuration.

 

Hierarchy panel

In this Hierarchy panel shows the structure of each control relationship, the relationship between the individual containers in a tree display and controls.

img

 

Controller panel

Controller panel under "Controller class" corresponding to the configuration controller class.

And User fx: root construct box is typically used when a custom component, check the contents of the file FXML becomes as follows:

fx: root designated a "dynamic root" for your FXML file; root which means FXML file is the object set on the loader before loading the file. This is typically used custom control, the control that you want to control is a subclass Node, you can use regular Java code to instantiate the control, but want to use FXML define its layout.

The "Assigned fx: id" is the show that set the Control ID, "fx: id" column indicates the id of the control, and Component represents the type of the control, as this is a Button control.

 

other

You can switch Hierarchy.

Info

But the value of information about the control Text When select "Info", the tree view.

fx:id

"Fx: id" custom display control id, set under Code panel.

Node Id

"Node Id" shows JavaFX CSS of Id in the Properties panel.

 

Searchable public micro-channel number [ Java example program ] or scan the Fanger Wei code number to get more public attention.

 

 

Published 500 original articles · won praise 77 · views 160 000 +

Guess you like

Origin blog.csdn.net/cnds123321/article/details/104536472