|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.display.DialogMessageLogger
public class DialogMessageLogger
A class to write log and status messages to a scrolling text area in a dialog box.
| Field Summary | |
|---|---|
protected JDialog |
outputDialog
|
protected JScrollPane |
outputScrollPane
|
protected JTextArea |
outputTextArea
|
| Constructor Summary | |
|---|---|
DialogMessageLogger(String titleMessage,
int width,
int height,
boolean exitApplicationOnClose)
Construct a logger. |
|
| Method Summary | |
|---|---|
void |
send(String message)
Append the supplied text to the log. |
void |
sendLn(String message)
Append the supplied text to the log, followed by a new line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JDialog outputDialog
protected JScrollPane outputScrollPane
protected JTextArea outputTextArea
| Constructor Detail |
|---|
public DialogMessageLogger(String titleMessage,
int width,
int height,
boolean exitApplicationOnClose)
Construct a logger.
titleMessage - for the title bar of the dialog boxwidth - initial width of the resizeable dialog boxheight - initial height of the resizeable dialog boxexitApplicationOnClose - if true, when the dialog box is closed (X-d out), will exit the application with success status| Method Detail |
|---|
public void send(String message)
MessageLoggerAppend the supplied text to the log.
send in interface MessageLoggermessage - the (possibly multi-line) text to append to the logpublic void sendLn(String message)
MessageLoggerAppend the supplied text to the log, followed by a new line.
sendLn in interface MessageLoggermessage - the (possibly multi-line) text to append to the log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||