JavaFX 2 Has the settings cache (setCache (true)) set the parent Node affects the child nodes?

If I set caching setCache(true) in parent Node , will there be cached child nodes?

Suppose I have a StackPane with a gradient, and another Pane also with a gradient but spinning on it. What happens when:

  • I set caching to parent only
  • I set caching only to child
  • I set caching on both.
  • I will not install caching.
+8
java javafx javafx-2
source share

No one has answered this question yet.

See related questions:

14
JavaFX Pass MouseEvents through transparent Node for kids
nine
get real node position in javaFX
3
How to automatically resize a parent node to fit with its children
one
JavaFx StackPane in SceneBuilder, how to make only the front panel visible without setting others to turn off visibility?
0
JavaFX Change the transparency of a gradient background without affecting children
0
JavaFX does not position the node in the parent node
0
JavaFX changes the parent node of a node while dragging
0
What is the best way to move an absolute Node node in a JavaFX panel?
0
Javafx - mouse event for child and parent nodes
0
Does caching the form apply to the node, automatically apply it to the child nodes?

All Articles