On a Web page, the ________ specifies what information to display and the ________ specifies how that information should be displayed.
HTML, CSS
In the hexadecimal color value #CCAA99, the CC refers to which color component?
In order to preserve an image’s aspect ratio (so it does not appear stretched or distorted), you should use which of the following? Assume myView references an ImageView object.
In order to leave 15 pixels of space in an HBox container, use which of the following statements?
In memory, GUI objects in a ________ are organized as ________ in a tree-like hierarchical data structure.
In a JavaFX application, you must recompile the application each time you make a change to the stylesheet.
True
False
False
In a JavaFX application, you are limited to a single layout container since layout containers cannot be nested.
True
False
False
In a JavaFX application, a CSS type selector corresponds to a specific JavaFX node.
True
False
True
If you set a scene’s size to a width and height that is smaller than the width and height of the image to be displayed,
If you have two RadioButtons ( dogRadio and catRadio), how should you code them to create a mutually exclusive relationship?
***If a BorderPane region does not contain anything,
How would a stylesheet named javafxstyles.css be applied to a JavaFX application, assuming that scene is the variable that refers to a Scene object?
Given the following styles, what size will the text of myLabel be?
.root { -fx- font-size: 12pt; }
.label { -fx- font-size: 18pt; }
18pts
CSS uses the RGB color system to define colors and colors can be specified using six hexadecimal numbers preceded by the # symbol.
True
False
True
A TextArea is a multiline TextField that can accept or display several lines of text.
True
False
True
A ComboBox differs only from a ListView in that a ComboBox must have a minimum of three items.
True
False
False
Assuming three ImageView objects named puppy, kitten, and bunny have been created, what does the following statement do?
HBox hbox = new HBox(5, puppy, kitten, bunny);
Adding RadioButton controls to a ________ object creates a mutually exclusive relationship between them.
***One important difference between the command line interface and a GUI interface is that
Padding is space that appears around the inside edges of a container.
True
False
True
Radio buttons are normally used when you want the user to be able to select one or more options from a group of several possible options.
True
False
False
Select all that apply. Given the statement shown below, which of the following statements are true?
Scene scene = new Scene(hbox, 100, 500);
One1. A Scene object named scene will be created
Three3. The root node is hbox
Four4. The width of the scene will be 100 pixels
Select all that apply. The SetStyle method is used to apply style rules directly to a JavaFX node. This method
Select all that apply. Which of the following are constructors of the BorderPane class?