edu.princeton.toy
protected class TStdinPane.Listener extends java.lang.Object implements java.awt.event.ActionListener, javax.swing.event.ChangeListener, java.awt.event.MouseListener
| Modifier | Constructor and Description | 
|---|---|
| protected  | TStdinPane.Listener() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | actionPerformed(java.awt.event.ActionEvent e)Implement ActionListener to pass commands to the doCommand() method. | 
| void | mouseClicked(java.awt.event.MouseEvent e)Implement MouseListener to stop the runner if the user clicks on the inputField. | 
| void | mouseEntered(java.awt.event.MouseEvent e)Implement MouseListener to stop the runner if the user clicks on the inputField. | 
| void | mouseExited(java.awt.event.MouseEvent e)Implement MouseListener to stop the runner if the user clicks on the inputField. | 
| void | mousePressed(java.awt.event.MouseEvent e)Implement MouseListener to stop the runner if the user clicks on the inputField. | 
| void | mouseReleased(java.awt.event.MouseEvent e)Implement MouseListener to stop the runner if the user clicks on the inputField. | 
| void | stateChanged(javax.swing.event.ChangeEvent e)Implement ChangeListener to update the list whenever the virtual machine's state changes. | 
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListener