Package org.qdl_lang.util
Class Console
- java.lang.Object
-
- java.awt.event.WindowAdapter
-
- org.qdl_lang.util.Console
-
- All Implemented Interfaces:
ActionListener
,WindowFocusListener
,WindowListener
,WindowStateListener
,Runnable
,EventListener
public class Console extends WindowAdapter implements WindowListener, ActionListener, Runnable
-
-
Constructor Summary
Constructors Constructor Description Console()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent evt)
static void
main(String[] arg)
String
readLine(PipedInputStream in)
void
run()
KeyListener
setupKL()
void
windowClosed(WindowEvent evt)
void
windowClosing(WindowEvent evt)
-
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.awt.event.WindowListener
windowActivated, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
-
-
-
Method Detail
-
windowClosed
public void windowClosed(WindowEvent evt)
- Specified by:
windowClosed
in interfaceWindowListener
- Overrides:
windowClosed
in classWindowAdapter
-
windowClosing
public void windowClosing(WindowEvent evt)
- Specified by:
windowClosing
in interfaceWindowListener
- Overrides:
windowClosing
in classWindowAdapter
-
actionPerformed
public void actionPerformed(ActionEvent evt)
- Specified by:
actionPerformed
in interfaceActionListener
-
readLine
public String readLine(PipedInputStream in) throws IOException
- Throws:
IOException
-
main
public static void main(String[] arg)
-
setupKL
public KeyListener setupKL()
-
-