Exam 14: Java-Fx: Graphics, Effects, and Media
Exam 1: Introduction to Computers and Java53 Questions
Exam 2: Java Fundamentals52 Questions
Exam 3: Decision Structures58 Questions
Exam 4: Loops and Files56 Questions
Exam 5: Methods56 Questions
Exam 6: A First Look at Classes58 Questions
Exam 7: Arrays and the Arraylist Class63 Questions
Exam 8: A Second Look at Classes and Objects52 Questions
Exam 9: Text Processing and More About Wrapper Classes62 Questions
Exam 10: Inheritance64 Questions
Exam 11: Exceptions and Advanced File Io59 Questions
Exam 12: Java-Fx: Gui Programming and Basic Controls42 Questions
Exam 13: Java-Fx: Advanced Controls40 Questions
Exam 14: Java-Fx: Graphics, Effects, and Media40 Questions
Exam 15: Recursion23 Questions
Exam 16: Databases40 Questions
Select questions type
JavaFX provides transition classes that allow the creation of animations by causing a node to change, over time, from one state to another.
Free
(True/False)
4.9/5
(35)
Correct Answer:
True
A polygon, created by the Polygon class is, by default, filled with the color black.
Free
(True/False)
4.8/5
(37)
Correct Answer:
True
Select all that apply. Which of the following are subclasses of the Animation class and the Transition class?
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
A, D
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.9/5
(33)
Select all that apply. Which of the following are special effects that can be applied to nodes in a scene graph?
(Multiple Choice)
4.8/5
(34)
Since the Node class's setEffect method only accepts one effect object as an argument, it is impossible to combine effects.
(True/False)
5.0/5
(36)
Select all that apply. Which of the following will cause a counterclockwise rotation of a RotateTransition object, rtrans?
(Multiple Choice)
4.7/5
(44)
Select all that apply. Which of the following classes are used to play videos?
(Multiple Choice)
5.0/5
(41)
Select all that apply. Which of the following classes are used to play an audio file?
(Multiple Choice)
4.9/5
(36)
Select all that apply. Which of the following are transition classes?
(Multiple Choice)
5.0/5
(39)
Which of the following creates a blue circle centered at X = 50, Y = 50 with a radius of 50?
(Multiple Choice)
4.8/5
(44)
To create a circle, you need to specify only the X and Y coordinates of the center point.
(True/False)
4.8/5
(36)
The setInterpolator method allows you to specify how a transition begins and ends.
(True/False)
4.8/5
(35)
To animate a node with the ScaleTransition class, you specify starting and ending __________.
(Multiple Choice)
4.9/5
(39)
Select all that apply. Which of the following are key events?
(Multiple Choice)
5.0/5
(36)
Select all that apply. Which of the following are possible states of a MediaPlayer object?
(Multiple Choice)
4.9/5
(44)
All the transition classes inherit a method named __________ which allows you to specify how the animation begins and ends.
(Multiple Choice)
4.7/5
(35)
Which transition class causes a node to become larger or smaller?
(Multiple Choice)
4.8/5
(44)
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
(35)
Showing 1 - 20 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)