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 Link icon

  • Method Details Link icon

    • showControlledUnit Link icon

      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 Link icon

      public abstract void renameControlledUnit(PamControlledUnit pamControlledUnit)
    • getViewName Link icon

      public abstract String getViewName()
    • getFrameNumber Link icon

      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 Link icon

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

      public void setFrameNumber(int frameNumber)