gumbo.app
Class TitleTextWriter

java.lang.Object
  |
  +--java.io.Writer
        |
        +--gumbo.app.TitleTextWriter

public class TitleTextWriter
extends java.io.Writer

Wraps MainFrame with a writer that allows the title text to be set asychronously (i.e. from outside the GUI thread).

Version:
$Revision: 1.7 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Nested Class Summary
 class TitleTextWriter.TargetProxy
          A target proxy that allows asynchronous access.
 
Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
TitleTextWriter(MainWindow target)
           
TitleTextWriter(TitleTextWriter.TargetProxy proxy)
           
 
Method Summary
 void close()
           
 void flush()
           
 TitleTextWriter.TargetProxy getTargetProxy()
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Writer
write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TitleTextWriter

public TitleTextWriter(MainWindow target)

TitleTextWriter

public TitleTextWriter(TitleTextWriter.TargetProxy proxy)
Method Detail

getTargetProxy

public TitleTextWriter.TargetProxy getTargetProxy()

write

public void write(char[] cbuf,
                  int off,
                  int len)
Specified by:
write in class java.io.Writer

flush

public void flush()
Specified by:
flush in class java.io.Writer

close

public void close()
Specified by:
close in class java.io.Writer