Class ViewInventoryPage

java.lang.Object
Common.UserInterface
UI.InventoryPages.ViewInventoryPage

public class ViewInventoryPage extends UserInterface
The ViewInventoryPage class provides functionality for displaying the inventory of medicines. It extends UserInterface and interacts with the InventoryDatabase to retrieve and display inventory details.
  • Constructor Details

    • ViewInventoryPage

      public ViewInventoryPage()
  • Method Details

    • display

      public void display(InventoryDatabase inventoryDatabase)
      Displays the contents of the specified inventory database.
      Parameters:
      inventoryDatabase - the InventoryDatabase containing inventory items to display