Homework Clinic

Science Clinic => Computer Science => Topic started by: olgavictoria on May 6, 2020

Title: The getStylesheets() method is defined in ________.
Post 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
Title: The getStylesheets() method is defined in ________.
Post by: nekcihc358 on May 6, 2020

Answer 1

node.setId("greencircle");

Answer 2

▸Parent
▸Scene
Title: Re: The getStylesheets() method is defined in ________.
Post by: David Poole on May 2, 2022
Thank you