Chapter 12 Flashcards
Describes any hypothetical person who might be using a computer and its programs
User
Part of the computer with which the user interacts
User interface
Requires the user to type commands
Command line interface or console interface
Allows the user to interact with the operating system and application programs through graphical elements on a screen
GUI programming (graphical user interface, or “gooey”)
What is a label control
Displays text
What is a TextField control
appears as a rectangular region that can accept keyboard input from the user
What is a button control
Rectangular control that appears as a button with a caption written across its face
What is a scene graph
Tree-like hierarchical data structure
What is a root node
Parent of all other nodes
What is a branch node
Can have other nodes as children
What is a leaf node
Cannot have chikdren
What is the foundation class of JavaFx?
Application class
The primary purpose of this type of control is to display text
Label
This type of control appears as a rectangular region that can accept keyboard input from the user
TextField
Typically when the user clicks this type of control an action takes place
Button
In memory, the GUI objects in a scene are organized as nodes in this type of structure
Scene Graph
There can only be one of these in a scene. It is the parent of all other nodes
Root node
This type of node can have other nodes as children
Branch node
This type of node cannot have nodes as children
Leaf node
All JavaFx applications must extend the _____ class
Application
This container arranges its contents in a single, vertical row
Vbox
You use this class to load an image file into memory
Image
You can use this class to actually display an image
ImageView
The EventHandler interface specifies a method named
Handle