|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.ui.GraphicalMessageAdapter
Class MessageAdapter builds and maintains the text area for displaying the contents of the status log.
Field Summary | |
protected com.bluemarsh.jswat.ui.ReaderToTextArea |
logReader
Our message reader which reads from the PipedWriter. |
protected java.io.PipedWriter |
logWriter
Piped writer from which we receive log messages. |
protected com.bluemarsh.jswat.ui.FancyTextArea |
messageArea
Text area displaying the status log contents. |
protected javax.swing.JScrollPane |
messageAreaScroller
Scroll pane for the messages area. |
Constructor Summary | |
GraphicalMessageAdapter()
Constructs a GraphicalMessageAdapter. |
Method Summary | |
void |
destroy(Log log)
Destroys the user interface. |
javax.swing.JComponent |
getUI()
Returns the message area widget. |
void |
init(Log log)
Attach to the given log object in order to receive messages from it. |
void |
setMaxLineCount(int count)
Sets the maximum number of lines to be shown in this panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.bluemarsh.jswat.ui.FancyTextArea messageArea
protected javax.swing.JScrollPane messageAreaScroller
protected java.io.PipedWriter logWriter
protected com.bluemarsh.jswat.ui.ReaderToTextArea logReader
Constructor Detail |
public GraphicalMessageAdapter()
Method Detail |
public void destroy(Log log)
log
- status log to detach from.public javax.swing.JComponent getUI()
public void init(Log log)
log
- status log to attach to.public void setMaxLineCount(int count)
count
- maximum number of lines to show.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |