Is it possible to broadcast an Event across the entire UI tree?
The scenario is implementing themability for a UI tree with lots of branches and nodes. Currently I am implementing the same with a preorder iteration of the tree and setting the corresponding properties. An event based model could be a more elegant way of doing it. I have a static theme class added to the displayList at the root level. When ever a change occurs on the same, currently the document class iterates the entrie UI tree and changes the properties of the UI elements. Rather I would have an event broadcasted across the entire UI tree from the root(downwards) and have the UI elements listen to the event.