Homework Clinic
Science Clinic => Computer Science => Topic started by: olgavictoria on May 6, 2020
-
Question 1
The ________ method sets a style id named greencircle for a node or a scene.
◦ node.setId("greencircle");
◦ node.setStyle("greencircle");
◦ node.setStyleId("greencircle");
◦ node.getStylesheets.addId("greencircle");
Question 2
The getStylesheets() method is defined in ________.
◦ Node
◦ Parent
◦ Control
◦ Pane
◦ Scene
-
Answer 1
node.setId("greencircle");
Answer 2
▸Parent
▸Scene
-
Thank you