This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom Components - Passing parameters and calling functions

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

http://docs.oracle.com/javafx/2/fxml_get_started/custom_control.htm

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.

Gianfranco
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic