Exam 13: Java-Fx: Graphics, Effects, and Media

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

Which of the following is a subclass of Node?

(Multiple Choice)
4.9/5
(41)

Select all that apply. Which of the following classes are used to play an audio file?

(Multiple Choice)
4.8/5
(36)

What does the following code snippet do when the animation is played, given that imageView has been created? FadeTransition ftrans = new FadeTransition (new Duration(5000), imageView); Ftrans.setFromValue(1.0); Ftrans.setToValue(0.5); Ftrans.play():

(Multiple Choice)
4.8/5
(41)

To make a node half its original size, you pass the setScaleX method the value 2 and pass the setScaleY method the value 0.5.

(True/False)
4.8/5
(35)

Any time a user presses a key, a __________ event occurs.

(Multiple Choice)
4.8/5
(29)

Select all that apply. Which of the following are possible states of a MediaPlayer object?

(Multiple Choice)
4.7/5
(40)

To animate a node with the ScaleTransition class, you specify starting and ending

(Multiple Choice)
4.8/5
(44)

Which class specifies the amount of time an animation should last?

(Multiple Choice)
4.8/5
(49)

To combine several effects, use the Effect class's __________ method.

(Multiple Choice)
4.8/5
(37)

The __________ arc type causes a straight line to be drawn from one endpoint of the arc to the other endpoint.

(Multiple Choice)
4.8/5
(52)

JavaFX provides transition classes that allow the creation of animations by causing a node to change, over time, from one state to another.

(True/False)
4.7/5
(32)

Which of the following import statements must be used in order to use the Color class?

(Multiple Choice)
4.9/5
(37)

Which of the following creates a blue circle centered at X = 50, Y = 50 with a radius of 50?

(Multiple Choice)
4.8/5
(37)

Select all that apply. Which of the following are constructors of the Rectangle class?

(Multiple Choice)
4.9/5
(38)

To create an animation in which a node fades in or out over a period of time, use the __________ class.

(Multiple Choice)
4.8/5
(23)

Select all that apply. Which of the following are special effects that can be applied to nodes in a scene graph?

(Multiple Choice)
4.9/5
(41)

The FillTransition class works only with objects of the Shape class or one of its subclasses.

(True/False)
4.9/5
(32)

Which class creates an animation in which a node rotates?

(Multiple Choice)
4.7/5
(36)

Select all that apply. Which of the following are mouse event types?

(Multiple Choice)
4.7/5
(31)

In a window that is 640px wide by 480px high, the top right X, Y coordinates would be (0, 480).

(True/False)
5.0/5
(42)
Showing 21 - 40 of 40
close modal

Filters

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