public class WaiterGUI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
javax.swing.JFrame |
frame
The frame that holds all the information to display.
|
Constructor and Description |
---|
WaiterGUI()
Create the application.
|
Modifier and Type | Method and Description |
---|---|
void |
addMenuItem(Message.DATA_MenuItem item)
Adds the menu item.
|
void |
addOrder(Message.DATA_TableOrder order)
Adds the order.
|
void |
initDeliveryQueue()
Inits the order queue.
|
static void |
main(java.lang.String[] args)
Launch the application.
|
public javax.swing.JFrame frame
public static void main(java.lang.String[] args)
args
- the argumentspublic void initDeliveryQueue()
public void addOrder(Message.DATA_TableOrder order)
order
- the orderpublic void addMenuItem(Message.DATA_MenuItem item)
item
- the item