|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biomoby.shared.event.SimpleListener
public class SimpleListener
A simple implementation of a NotificationListener that prints all intercepted messages on standard output, or to the given output stream.
Constructor Summary | |
---|---|
SimpleListener()
Default constructor. |
|
SimpleListener(PrintStream out)
A constructor directing messages to the given output stream. |
Method Summary | |
---|---|
void |
notified(NotificationEvent event)
Invoked when a notification arrives. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleListener()
public SimpleListener(PrintStream out)
Method Detail |
---|
public void notified(NotificationEvent event)
NotificationListener
notified
in interface NotificationListener
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |