|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.messaging.printstreams.MessagePrintStream
public class MessagePrintStream
An Message Listener,which displays messages to a given Print Stream
Method Summary | |
---|---|
void |
displayMessage(MessageEvent e)
Invoked when an message event occurs. |
protected void |
finalize()
|
PrintStream |
getPrintStream()
Returns the PrintStream in which message are printed. |
void |
setPrintStream(PrintStream aStream)
Sets the PrintStream in which message are printed |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void displayMessage(MessageEvent e)
MessageListener
Note:
MessageEvent contains a MessageResult Object, if neccessary,
put the result of displaying the message, into it.
displayMessage
in interface MessageListener
e
- MessageEvent containing the message to display and
a messageResult to hold message display resultsMessageListener.displayMessage(MessageEvent)
public PrintStream getPrintStream()
public void setPrintStream(PrintStream aStream)
aStream
- The aStream to setprotected void finalize() throws Throwable
finalize
in class Object
Throwable
Object.finalize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |