Class ItemCustomizationView

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ItemCustomizationView extends JPanel
Represents the customization interface for tailoring specific menu items. Allows users to select optional toppings, which dynamically updates the transaction total before the item is finalized and added to the order summary. * @author Team 60
See Also:
  • Constructor Details

    • ItemCustomizationView

      public ItemCustomizationView(Connection conn, JPanel parentPanel, String itemName, double price, int itemID)
      Constructs a customization screen for a specific menu item. * @param conn The database connection used to fetch available toppings and their prices.
      Parameters:
      parentPanel - The container panel used to navigate back to the primary cashier view.
      itemName - The name of the base item being customized.
      price - The starting base price of the item before modifications.
      itemID - The unique database identifier for the menu item.