All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.awt.Component | +----java.awt.TextComponent | +----java.awt.TextArea | +----sunw.demo.encapsulatedEvents.EventMonitor
The EventMonitor is a simple bean that demonstrates the power of the EncapsulatedEventManager and EncapsulatedEventAdaptor classes.
The EventMonitor and EventManager classes provide a simple event debugging interface that allows the BeanBox user to display a flow of all events from selected Beans.
Construct an EventMonitor Bean.
Adds the listener eel to the source s to receive ALL events s emits as encpasulated events.
register the event source for monitoring
public EventMonitor()
Construct an EventMonitor Bean.
public void addEventSource(Object s)
Adds the listener eel to the source s to receive ALL events s emits as encpasulated events. Will throw IllegalArgumentException if s is not managed by this EncapsulatedEventManager.
public Dimension getPreferredSize()
public void initiateEventSourceMonitoring(EventObject eo)
register the event source for monitoring
All Packages Class Hierarchy This Package Previous Next Index