Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13

Chapter 13

1. What layout organizes your nodes horizontally across a Scene?
HBox
2. True or false? The HBox is located in the javafx.scene.HBox package.
False. The HBox is located in the javafx.scene.layout package.
3. What property holds the nodes for a layout to organize?
content
4. True or false? You must be sure to set the x and y coordinates of each node you place in a layout.
False. The layout takes care of the x and y coordinates for you.
5. Can effects be applied to layouts?
Yes. Because layouts inherit from Node, they can use effects.
6. What layout organizes nodes vertically down a Scene?
VBox
7. What is the name given to layouts that are combined to produce a new layout?
Nested layouts
8. True or false? Fore layouts to be nested, one must inherit from the other.
False. One layout simply needs to be added to the other’s content.
9. True or false? Only two layouts can be nested.
False. Multiple layouts can be nested.
10. Name four layouts other than the VBox and HBox.
ClipView, Flow, Stack, and Tile


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial