Exam 12: Java-Fx: Advanced Controls

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

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

(True/False)
4.9/5
(40)

Which of the following is a CSS named color?

(Multiple Choice)
4.9/5
(41)

If you have two RadioButtons (dogRadio and catRadio), how should you code them to create a mutually exclusive relationship?

(Multiple Choice)
4.9/5
(40)

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

CSS uses the RGB color system to define colors and colors can be specified using six hexadecimal numbers preceded by the # symbol.

(True/False)
4.9/5
(47)

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

(Multiple Choice)
4.7/5
(41)

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)

In CSS, selector names that begin with a period are called __________ selectors.

(Multiple Choice)
4.8/5
(28)

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

(Multiple Choice)
4.9/5
(34)

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)
5.0/5
(42)

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

(Multiple Choice)
4.8/5
(27)

Styles specified with the .root selector take precedence over styles applied to any other node.

(True/False)
4.7/5
(38)

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

(Multiple Choice)
4.9/5
(38)

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

(Multiple Choice)
5.0/5
(42)

In the hexadecimal color value #CCAA99, the CC refers to which color component?

(Multiple Choice)
4.8/5
(42)

Select all that apply. Which of the following classes inherit from the Region class?

(Multiple Choice)
4.9/5
(39)

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

(Multiple Choice)
4.8/5
(31)

To create a mutually exclusive relationship between RadioMenuItem controls, you must group them in a ToggleGroup object.

(True/False)
4.9/5
(31)

In JavaFX all CSS properties begin with -fx-.

(True/False)
4.8/5
(36)

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

(Multiple Choice)
5.0/5
(39)
Showing 21 - 40 of 40
close modal

Filters

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