Question: State whether each of the following is true or false. If false, explain why. a) Each CSS rule begins with a CSS collector which specifies

State whether each of the following is true or false. If false, explain why.

a) Each CSS rule begins with a CSS collector which specifies the JavaFX objects that will be styled according to the rule.

b) An XML start tag consists of square brackets ([ and ]) containing the element’s name followed by zero or more attributes.

c) It’s possible to load CSS files dynamically and add them to a Scene’s collection of style sheets, which you can access via the getStyleSheets method.

d) For each property you set in Scene Builder, there is a corresponding attribute in FXML.

e) You specify a CSS type selector by using the JavaFX class name.

f) A Polyline draws a series of connected lines defined by a set of points and connects the last point to the first point.

g) PathElement subclass MoveTo moves to a specific position without drawing anything.

h) For video, JavaFX supports MPEG-4 (also called MP4) and Flash Video formats.

i) Playing multiple videos requires a separate MediaPlayer for each Media object.

j) Transition animations change a Node’s property values from one value to another in a specified amount of time. Only one property of a Node can be animated.

k) Setting an animation’s cycle count to Timeline.INFINITE performs an animation until its stop method is called or the program terminates.

l) For smooth animation, JavaFX tries to display animation frames at 30 frames per sec- ond.

m) You cannot define animations that operate at the same overall speed, regardless of the frame rate on a given device.

n) Class AnimationTimer is a concrete class.

o) If you call setLineWidth to specify the GraphicsContext’s line thickness, all subsequent

p) A three-dimensional object’s depth is measured along the z-axis which runs parallel to your screen.

q) PhongMaterial method setSpecularColor sets the color of a bright spot that makes a 3D shape appear shiny. PhongMaterial method setSpecularPower determines the intensity of that spot.

Step by Step Solution

3.43 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a False Each CSS rule begins with a CSS selector which specifies the JavaFX objects that will be sty... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java How to Program Early Objects Questions!