Javafx Nodes only able to be in one Group? -


i not sure if bug or not or javafx program trying add nodes several groups (only 1 of added scene) , encountering oddity node automatically remove previous group when add group.

i can't find documentation on talking objects being able belong 1 group, wondering whether bug or meant be? hoping use several groups collect items in different groupings can apply high level effects such mousetransparency, opacity etc whole groups on on/off basis rather iterate through items list child objects have things mousetransparency disabled (therefore don't want turn on items did not have mousetransparency - feature handy adding them groups).

i note can add groups child other groups. have tried solving problem having this, groups nested under main visually shown group, had abandon not comparator sort on wholes if contained within sub-groups sort either within sub-group or sort groups groups within main group, rather sorting nodes across sub-groups.

thanks

refer node documentation:

if program adds child node parent (including group, region, etc) , node child of different parent or root of scene, node automatically (and silently) removed former parent.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -