Package PamView

Class PamView

java.lang.Object
PamView.PamView
All Implemented Interfaces:
PamViewInterface
Direct Known Subclasses:
PamGui

public abstract class PamView extends Object implements PamViewInterface
Author:
Doug Gillespie

Makes a simple display with a main GUI and a list of data objects.

  • Constructor Details

  • Method Details

    • showControlledUnit

      public abstract void showControlledUnit(PamControlledUnit pamControlledUnit)
      tells the view to show the main display panel of a pamControlledUnit
      Specified by:
      showControlledUnit in interface PamViewInterface
      Parameters:
      pamControlledUnit -
    • renameControlledUnit

      public abstract void renameControlledUnit(PamControlledUnit pamControlledUnit)
    • getViewName

      public abstract String getViewName()
    • getFrameNumber

      public int getFrameNumber()
      Specified by:
      getFrameNumber in interface PamViewInterface
      Returns:
      Frame number used by the multiple GUI frames. All other objects, such as the model view should return invalid input: '<' 0.
    • getGuiFrame

      public JFrame getGuiFrame()
      Specified by:
      getGuiFrame in interface PamViewInterface
    • setFrameNumber

      public void setFrameNumber(int frameNumber)