Directory

Blackboard - Vaadin Add-on Directory

A generic blackboard system for listening to and firing events. Blackboard - Vaadin Add-on Directory
Sometimes, having a deep component hierarchy poses a problem, when you need to inform a component high up in the tree that something happened deep down below. You normally have one of two choices - either pass the listener all the way down the hierarchy, leading to more coupled code, or let each component in between be a listener/notifier, passing the event all the way back up. With the Blackboard, you can register any listener to listen for any event, and when that event is fired, all the listeners for that event are triggered. This keeps your components clean and rid of unnecessary boilerplate code. Versions 1.1.0 and 1.2.0 have a dependency to Google Collections.