public class StreamValueListener extends java.lang.Object implements ValueListener
Variable| Modifier and Type | Field and Description |
|---|---|
protected java.io.PrintStream |
_output
The PrintStream that we direct the output to.
|
| Constructor and Description |
|---|
StreamValueListener()
Create a value listener that sends messages to the standard output.
|
StreamValueListener(java.io.OutputStream out)
Create a value listener that sends messages to the specified stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
valueChanged(Settable settable)
React to the fact that the specified Settable has changed.
|
protected java.io.PrintStream _output
public StreamValueListener()
public StreamValueListener(java.io.OutputStream out)
out - The stream to send messages to.public void valueChanged(Settable settable)
valueChanged in interface ValueListenersettable - The object that has changed value.