|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.Reader | +--java.io.PipedReader | +--gumbo.app.ConsolePanel.TextFieldReader
Allows a JTextField to be accessed asychronously through a Reader. The text typed into the field will be sent through the reader when the user hits the return key. The text will be left selected in the field (so that it can be seen, and erased upon subsequent text entry).
Field Summary |
Fields inherited from class java.io.Reader |
lock |
Constructor Summary | |
ConsolePanel.TextFieldReader(javax.swing.JTextField field)
|
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
Methods inherited from class java.io.PipedReader |
close, connect, read, read, ready |
Methods inherited from class java.io.Reader |
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConsolePanel.TextFieldReader(javax.swing.JTextField field) throws java.io.IOException
Method Detail |
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |