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 voidactionPerformed(ActionEvent evt)static voidmain(String[] arg)StringreadLine(PipedInputStream in)voidrun()KeyListenersetupKL()voidwindowClosed(WindowEvent evt)voidwindowClosing(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:
windowClosedin interfaceWindowListener- Overrides:
windowClosedin classWindowAdapter
-
windowClosing
public void windowClosing(WindowEvent evt)
- Specified by:
windowClosingin interfaceWindowListener- Overrides:
windowClosingin classWindowAdapter
-
actionPerformed
public void actionPerformed(ActionEvent evt)
- Specified by:
actionPerformedin interfaceActionListener
-
readLine
public String readLine(PipedInputStream in) throws IOException
- Throws:
IOException
-
main
public static void main(String[] arg)
-
setupKL
public KeyListener setupKL()
-
-