A B C D E F G H I L M N O P R S T U V W

D

dateTime - Variable in class edu.uci.ics.inf111.dvdvendor.app.Transaction
The date and time for the transaction.
dispense(String) - Method in class edu.uci.ics.inf111.dvdvendor.devices.DVDDispenser
dispense() is the method we use to simulate the DVD dispenser is dispensing a product.
dispenseButton - Variable in class edu.uci.ics.inf111.dvdvendor.gui.DVDVendorGUI
Button for Dispense action
dispenseItems() - Method in class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
Method that dispense the items in the transaction using the dvdDispenser object from the dvdVendor object.
dispenseItems(DVDVendor) - Method in class edu.uci.ics.inf111.dvdvendor.gui.Actions
Method that dispense the items in the transaction using the dvdDispenser object from the dvdVendor object
DispenseWhileAddingException - Exception in edu.uci.ics.inf111.dvdvendor.exceptions
A simple exception which is thrown when a customer tries to dispense a product once he/she is still adding products.
DispenseWhileAddingException() - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.DispenseWhileAddingException
 
DispenseWhileAddingException(String) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.DispenseWhileAddingException
 
DispenseWhileAddingException(String, Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.DispenseWhileAddingException
 
DispenseWhileAddingException(Throwable) - Constructor for exception edu.uci.ics.inf111.dvdvendor.exceptions.DispenseWhileAddingException
 
DVD - Class in edu.uci.ics.inf111.dvdvendor.app
A DVD represents a single bar-code-bearing product in the point of sale.
DVD(BarCode, String, double, String, Utils.genre[], String, String) - Constructor for class edu.uci.ics.inf111.dvdvendor.app.DVD
This constructor stores all relevant details of the product, which can be retrieved using accessor methods.
dvdDispenser - Variable in class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
The associated DVDDispenser, which will notify DVDVendor when it detects a status change.
DVDDispenser - Class in edu.uci.ics.inf111.dvdvendor.devices
The DVDDispenser class represents a wrapper for a hardware driver of the device to receive and dispense the DVDs.
DVDDispenser() - Constructor for class edu.uci.ics.inf111.dvdvendor.devices.DVDDispenser
This simple constructor initializes a blank bar code and an empty set of observers.
DVDDispenserEvent - Class in edu.uci.ics.inf111.dvdvendor.devices
The DVDDispenserEvent class serves to encapsulate the information associated with a change in the state of the DVDDispenser, so that it can easily be passed to the DVDDispenserListeners.
DVDDispenserEvent(String, String) - Constructor for class edu.uci.ics.inf111.dvdvendor.devices.DVDDispenserEvent
Create a DVDDispenserEvent.
DVDDispenserListener - Interface in edu.uci.ics.inf111.dvdvendor.devices
The DVDDispenserListener interface must be implemented by any class which wishes to attach() to the DVDDispenser to receive DVDDispenserEvents.
DVDVendor - Class in edu.uci.ics.inf111.dvdvendor.app
The DVDVendor class contains the business logic of the point of sale, and keeps track of the state of the current customer's rental and return checkout.
DVDVendor() - Constructor for class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
The argument-less constructor makes the necessary utility classes and passes them to the constructor with arguments.
DVDVendor(DVDDispenser, PaymentCollector, ProductDB, TransactionDB) - Constructor for class edu.uci.ics.inf111.dvdvendor.app.DVDVendor
This is the chief constructor.
dvdVendor - Variable in class edu.uci.ics.inf111.dvdvendor.gui.DVDVendorGUI
dvdVendor object that will be used for the transactions
DVDVendor.checkOutState - Enum in edu.uci.ics.inf111.dvdvendor.app
This enumeration represents the states of the DVDVendor system:
READY means the system is awaiting a new customer
States for Rental:
ADDING means the system is prepared for another item to be added
PAYING means the system is awaiting for payment
DISPENSING means the system is awaiting notification that the items have been dispensed in the DVD Dispenser
States for Returning:
RECEIVING means the system is awaiting for the customer to return the product using the DVD Dispenser
CALCULATING means the system is calculating the charges.
Attempts to add items while PAYING or DISPENSING will result in errors.
DVDVendor.checkOutState() - Constructor for enum edu.uci.ics.inf111.dvdvendor.app.DVDVendor.checkOutState
 
DVDVendorGUI - Class in edu.uci.ics.inf111.dvdvendor.gui
The DVDVendorGui class handles the Graphical User Interface for the DVD Vendor system.
DVDVendorGUI() - Constructor for class edu.uci.ics.inf111.dvdvendor.gui.DVDVendorGUI
This constructor creates the text fields, labels, and buttons.

A B C D E F G H I L M N O P R S T U V W