Hey all!
Just wondering if there is a simple way to pass a listener up 2 parent components. For context I have 3 classes: pluginEditor, control Panel, and singleControlRow.
The ControlPanel is instantiated in the PluginEditor and the SingleControlRow class is instantiated in the ControlPanel class. I was wondering if there was a way for a ChangeListener on the PluginEditor would be able to Listen for Broadcast messages from the SingleControlRow class.
I have implement this event response before when the parent listener is the parent directly above, but cannot think of a good way to do this when the ChangeListener is the parent of a parent component.
Hopefully I have explained this clear enough.
Any help would be so appreciated, I have been racking my brain on this one and have come up with nothing.
Thanks.