NamespaceView Abstract-style Class
Implements
org.moock.unity.NamespaceListener
Constructor
NamespaceView(namespace)
Arguments
- namespace
- The NameSpace instance this view is observing.
Methods
onAddRoom(e) |
onRemoveRoom(e) |
onNumClientsInNamespace(e) |
Properties
ns |
A reference to the NameSpace instance this view is observing. |
Description
The NamespaceView class provides "do-nothing" implementations for all methods defined by NamespaceListener. NamespaceView is not meant to be instantiated directly, but exists merely as a convenience for creating listeners. To create a new NamespaceEvent listener class, simply subclass NamespaceView and implement only the desired methods. (You could also implement NamespaceListener directly, and not subclass NamespaceView, but then you'd be obliged to provide implementations for every method in NamespaceListener).
Documentation Version
1.0.1