project4
Class BurgerJoint

java.lang.Object
  extended by project4.BurgerJoint

public class BurgerJoint
extends java.lang.Object


Constructor Summary
BurgerJoint()
          constructor for a BurgerJoint object
 
Method Summary
 void createAndShowGUI()
          creates and shows the GUI for the burger joint.
 IKitchen getKitchen()
          get the kitchen of this burger joint
 OrderList getOrderList()
           
 void setKitchen(IKitchen kitchen)
          assign a kitchen to the burger joint
 void setOrderList(OrderList orderList)
           
 void updateGuiText(java.lang.String text)
          update the message in the GUI.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BurgerJoint

public BurgerJoint()
constructor for a BurgerJoint object

Method Detail

getKitchen

public IKitchen getKitchen()
get the kitchen of this burger joint

Returns:
the kitchen of this burger joint

setKitchen

public void setKitchen(IKitchen kitchen)
assign a kitchen to the burger joint

Parameters:
kitchen - the kitchen to add to the burger joint

updateGuiText

public void updateGuiText(java.lang.String text)
update the message in the GUI. Use this method when indicating exceptions which have occurred during the execution of your program.

Parameters:
text - the message to update into the GUI.

createAndShowGUI

public void createAndShowGUI()
creates and shows the GUI for the burger joint. The main method should call this method.


setOrderList

public void setOrderList(OrderList orderList)

getOrderList

public OrderList getOrderList()