Class ModelViewer

java.lang.Object
main.boundary.modelviewer.ModelViewer

public class ModelViewer extends Object
The ModelViewer class is responsible for displaying single or lists of objects that implement the Displayable interface.
  • Constructor Details

    • ModelViewer

      public ModelViewer()
  • Method Details

    • displaySingleDisplayable

      public static void displaySingleDisplayable(Displayable displayable)
      Displays a single Displayable object.
      Parameters:
      displayable - The Displayable object to be displayed.
    • displayListOfDisplayable

      public static void displayListOfDisplayable(List<? extends Displayable> displayableList)
      Displays a list of Displayable objects.
      Parameters:
      displayableList - The list of Displayable objects to be displayed.