Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Node toFront method
Node toFront method [message #1774196] Wed, 11 October 2017 14:14 Go to next message
Shenwei Zheng is currently offline Shenwei ZhengFriend
Messages: 6
Registered: December 2016
Junior Member
Hi,
As I learned from the Node.toFront() method, it will move the node to the end of the parent's children list and then the node will be rendered at the end.
My situation: there are overlapped nodes (different types) and I want to show nodes of same types always on top when one of them is clicked. How could I implement this?
Thank you.
Re: Node toFront method [message #1775076 is a reply to message #1774196] Tue, 24 October 2017 10:48 Go to previous message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 479
Registered: December 2010
Location: Germany
Senior Member
Maybe use a StackPane and then use setVisible() to toggle between the nodes?
Previous Topic:Exception starting sample application
Next Topic:Tutorial 3 in Oxygen
Goto Forum:
  


Current Time: Fri Dec 15 14:18:44 GMT 2017

Powered by FUDForum. Page generated in 0.01754 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software