Exam 13: Java-Fx: Advanced Controls

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following creates a custom style class that will allow a Button control to appear with a blue background and yellow text?

(Multiple Choice)
4.8/5
(34)

To replace a ListView control's existing items with a new list of items, use the __________ method.

(Multiple Choice)
4.9/5
(37)

Which of the following statements creates a Slider with a range of 1 to 20 with a starting value of 1?

(Multiple Choice)
4.7/5
(38)

Given the following styles, what size will the text of the label be? .root { -fx- font-size: 12pt; } )label { -fx- font-size: 18pt; }

(Multiple Choice)
4.7/5
(31)

A ComboBox differs only from a ListView in that a ComboBox must have a minimum of three items.

(True/False)
4.9/5
(37)

The control that displays a list of items and allows the user to select an item from the list is the __________ control.

(Multiple Choice)
4.7/5
(34)

On a web page, the __________ specifies what information to display and the __________ specifies how that information should be displayed.

(Multiple Choice)
4.9/5
(38)

Adding RadioButton controls to a __________ object creates a mutually exclusive relationship between them.

(Multiple Choice)
4.9/5
(38)

In a JavaFX application, you must recompile the application each time you make a change to the stylesheet.

(True/False)
4.8/5
(30)

Which of the following is a CSS named color?

(Multiple Choice)
4.7/5
(30)

In a JavaFX CSS style definition, if a selector name starts with a period, that selector corresponds to a __________.

(Multiple Choice)
4.8/5
(38)

Select all that apply. Which of the following methods can be used with both ArrayLists and ObservableLists?

(Multiple Choice)
4.9/5
(48)

What does the following code do, assuming there is a variable that references a Scene object? myScene.getStylesheets().add("sceneStyles.css");

(Multiple Choice)
4.8/5
(28)

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?

(Multiple Choice)
4.8/5
(40)

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)
4.8/5
(33)

Select all that apply. Which of the following ComboBox methods require a boolean argument?

(Multiple Choice)
4.8/5
(34)

What happens when the following code is executed? ComboBox<string> myComboBox = new ComboBox<>(); MyComboBox.getItems().addAll(5, 10, 15, 20);

(Multiple Choice)
4.8/5
(27)

In a JavaFX application, a CSS type selector corresponds to a specific JavaFX node.

(True/False)
4.8/5
(31)

A TextArea is a multiline TextField that can accept or display several lines of text.

(True/False)
4.8/5
(39)

The __________ control uses a drop-down list as its display.

(Multiple Choice)
4.9/5
(28)
Showing 21 - 40 of 40
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)