Package UI.AOMUI
Class PharmaOutcomeInterface
java.lang.Object
Common.UserInterface
UI.AOMUI.PharmaOutcomeInterface
The
PharmaOutcomeInterface
class provides functionality for managing
appointment outcomes related to medicine dispensing. It extends UserInterface
and interacts with the PharmaAOM
manager to handle appointment outcomes.-
Field Summary
Fields inherited from class Common.UserInterface
scanner
-
Constructor Summary
ConstructorsConstructorDescriptionPharmaOutcomeInterface
(PharmaAOM pharmaManager) Constructs aPharmaOutcomeInterface
with the specifiedPharmaAOM
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Displays options for managing appointment outcomes.Methods inherited from class Common.UserInterface
displayError, displaySuccess, getIntInput, getNumericString, getValidatedInt, getValidatedString, pauseAndView
-
Constructor Details
-
PharmaOutcomeInterface
Constructs aPharmaOutcomeInterface
with the specifiedPharmaAOM
instance.- Parameters:
pharmaManager
- the manager used to access and manage pharmacy appointment outcomes
-
-
Method Details
-
displayOptions
public void displayOptions()Displays options for managing appointment outcomes. Prompts the user to select an option and executes the corresponding functionality.
-