All Packages Class Hierarchy This Package Previous Next Index
Class duckMachine.GUI.loadListener
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----java.awt.FileDialog
|
+----duckMachine.GUI.loadListener
- public class loadListener
- extends FileDialog
- implements ActionListener
The listener for load commands.
-
loadListener(MachineFrame)
- The listener responds to clicks on the Load button.
-
actionPerformed(ActionEvent)
-
loadListener
public loadListener(MachineFrame p)
- The listener responds to clicks on the Load button. It opens
a file dialog to get the name of the object file to load.
It needs access to the parent frame to report errors that might
happen during the parsing and loading of the file.
actionPerformed
public void actionPerformed(ActionEvent evt)
All Packages Class Hierarchy This Package Previous Next Index