This is the binding system used in JosBrowser ( JoZilla ).
Several components make up this abstract Layer class.
All of these systems are used to provide a modular / layered approach to JoZilla - the mamillian munching browser.
<blockquote> abstract class LayerLinker{ Layer above; Layer below; bind (Layer above, Layer below) { this.above = above; this.below = below; } sendUp (Object obj) { above.receive(obj); } sendDown (Object obj) { below.receive(obj); } receiveUp (Object obj); // extend this method to implement your layers // receive method from upper layers receiveDown (Object obj); // extend this method to implement your layers // receive method from lower layers}