What is the best to achieve this sort of layouts ? (Newbie)

I am a newbie for JavaFX. I want to develop a client which has tiles and on clicking a tile again other tiles appear. Finally a other layout for entry/view appears.

I belive for this I got to have different layout classes for each and call one by one in the main class. But am not able to get how to achive this. I read couple of turotials but couldn't get what I want to achieve.

What is the best possible way to achieve this? Please try to help me at the earliest. Any help is highly appreciated.