Package | Description |
---|---|
headfirst.composite.menu |
Modifier and Type | Class and Description |
---|---|
class |
Menu |
class |
MenuItem |
Modifier and Type | Method and Description |
---|---|
MenuComponent |
Menu.getChild(int i) |
MenuComponent |
MenuComponent.getChild(int i) |
Modifier and Type | Method and Description |
---|---|
void |
Menu.add(MenuComponent menuComponent) |
void |
MenuComponent.add(MenuComponent menuComponent) |
void |
Menu.remove(MenuComponent menuComponent) |
void |
MenuComponent.remove(MenuComponent menuComponent) |
Constructor and Description |
---|
Waitress(MenuComponent allMenus) |