Class View

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants, Listener<Simulator>

public class View extends JFrame implements Listener<Simulator>
See Also:
  • Constructor Details

    • View

      public View(String title, int width, int height)
  • Method Details

    • notifyListener

      public void notifyListener(Time unused, Simulator source)
      Description copied from interface: Listener
      Notifies all listeners of a specific event or hook
      Specified by:
      notifyListener in interface Listener<Simulator>
      Parameters:
      unused - time-stamp of the call. Can be null
      source - the source object of the call
    • close

      public void close()