All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class duckMachine.GUI.MachinePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----duckMachine.GUI.MachinePanel

public class MachinePanel
extends Panel
A panel to display the contents of the machine.


Constructor Index

 o MachinePanel(MachineFrame, MachineI, InputStream, OutputStream)
The machine panel consists of several panels for the processor, the IO unit, and the memory.

Method Index

 o updatePanel(MachineI)

Constructors

 o MachinePanel
 public MachinePanel(MachineFrame mf,
                     MachineI mach,
                     InputStream fromMachine,
                     OutputStream toMachine)
The machine panel consists of several panels for the processor, the IO unit, and the memory. Each of these panels has access to the machine frame in order to communicate errors to the control panel. The editable parts of the machine frame are in yellow. The non editable parts are in green.

See Also:
MachineFrame

Methods

 o updatePanel
 public void updatePanel(MachineI mach) throws IOException
Throws: IOException
If an error occurs during the update of the standard output panel.
See Also:
ioUnitPanel

All Packages  Class Hierarchy  This Package  Previous  Next  Index