State whether each of the following is true or false. If false, explain why. a) Each CSS

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 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Java How To Program Early Objects

ISBN: 9780134743356

11th Edition

Authors: Paul Deitel, Harvey Deitel

Question Posted: