All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class atm.physical.OperatorPanel

java.lang.Object
   |
   +----atm.physical.OperatorPanel

public class OperatorPanel
extends Object
Manager for the ATM's operator panel. In a real ATM, this would manage a physical device; in this simulation, it uses classes in package simulation to simulate the device.


Variable Index

 o atm
ATM this panel is part of.

Constructor Index

 o OperatorPanel(ATM)
Constructor

Method Index

 o getInitialCash()
Get the amount of cash in the cash dispenser from the operator at start up

Variables

 o atm
 private ATM atm
ATM this panel is part of. The ATM object will be notified when the switch on the panel is turned on or off

Constructors

 o OperatorPanel
 public OperatorPanel(ATM atm)
Constructor

Parameters:
atm - the ATM this panel is part of

Methods

 o getInitialCash
 public Money getInitialCash()
Get the amount of cash in the cash dispenser from the operator at start up

Returns:
dollar value of the bills in the cash dispenser (# of bills x $20)

All Packages  Class Hierarchy  This Package  Previous  Next  Index