Hi all,
Indeed the topic I posted is an issue of "how do I send messages between objects" as bazrush put it.
More specifically, the problem that I encountered, which forced me to put it on the forum, is the following:
I have designed a component consisting of a label and a rotated slider, with the following functionality:
- The middle of the slider corresponds to zero. The move of left-right decreases/increases the value of the label.
- The movement of the mouse up and down in relation to the label, also similarly alters the value of the label.
This component is included as Introjucer component many times inside the MainComponent, at design time using the “GUI editor/Add new component/New Introjucer component” menu-path.
Now, I am going on to use such components with more than one label/input-info, into my Audio application.
At the moment, I use the ChangeBroadcaster/ChangeListener to receive all the info I need to process.
Because of no one of the ChangeBroadcaster and ActionBroadcaster meet my needs at all, I am trying to use the Message class.
Of course, I will explore the other suggested solutions, especially the two first, which seem to me as more suitable and convenient.
However, I still wonder if the method I used is the best or is there something else more appropriate. Especially now that I have outlined in detail the original problem, I wonder even more.
Note that, as a newbie to the JUICE, sometimes I will put an issue to the forum to confirm the correctness of the solution I thought, by a specialist. As you know It is very unpleasant to go on with the implementation of an application, while having the feeling that something was not done in the right way.
So, personally, I appreciate any response I receiving to my questions.
Thanks for your attention
George