Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom Components - Passing parameters and calling functions  RSS feed

Gianfranco Vecchio
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I followed this tutorial

to create a custom component in my JavaFx 2 application. This tutorial shows a simple solution with only a string as variable parameter to pass to the custom components.
My question is: How can i pass variable parameters from the main Controller to the controller of custom components and vice-versa how to call a function in the main controller from the controller of custom component.

Thanks in advance.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!