Class ModelView

    • Field Detail

      • input

        public TypedIOPort input
        The input port to receive models to be viewed.
      • output

        public TypedIOPort output
        The output port to send the input models unchanged.
      • isPersistent

        public Parameter isPersistent
        If the isPersistent parameter is false, then the user will not be prompted to save the model upon closing. Models in the test suite might want to have this parameter set to false so as to avoid a dialog asking if the user wants to save the model. The default is a boolean with a value of false, indicating that the user will not be prompted to save the model if the model has changed.
      • reopenWindow

        public Parameter reopenWindow
        Whether the window should be reopened each time a new model is received in a token.
      • screenLocation

        public Parameter screenLocation
        Location of the window, or [-1, -1] if the location is to be determined automatically.
      • screenSize

        public Parameter screenSize
        Size of the window, or [-1, -1] if the size is to be determined automatically.
      • title

        public PortParameter title
        Title of the window, or empty if the title is to be determined automatically.
    • Method Detail

      • windowActivated

        public void windowActivated​(java.awt.event.WindowEvent e)
        Do nothing.
        Specified by:
        windowActivated in interface java.awt.event.WindowListener
        Parameters:
        e - The event.
      • windowClosed

        public void windowClosed​(java.awt.event.WindowEvent e)
        React to closing of the tableau by marking it closed.
        Specified by:
        windowClosed in interface java.awt.event.WindowListener
        Parameters:
        e - The event.
      • windowClosing

        public void windowClosing​(java.awt.event.WindowEvent e)
        Do nothing.
        Specified by:
        windowClosing in interface java.awt.event.WindowListener
        Parameters:
        e - The event.
      • windowDeactivated

        public void windowDeactivated​(java.awt.event.WindowEvent e)
        Do nothing.
        Specified by:
        windowDeactivated in interface java.awt.event.WindowListener
        Parameters:
        e - The event.
      • windowDeiconified

        public void windowDeiconified​(java.awt.event.WindowEvent e)
        Do nothing.
        Specified by:
        windowDeiconified in interface java.awt.event.WindowListener
        Parameters:
        e - The event.
      • windowIconified

        public void windowIconified​(java.awt.event.WindowEvent e)
        Do nothing.
        Specified by:
        windowIconified in interface java.awt.event.WindowListener
        Parameters:
        e - The event.
      • windowOpened

        public void windowOpened​(java.awt.event.WindowEvent e)
        Do nothing.
        Specified by:
        windowOpened in interface java.awt.event.WindowListener
        Parameters:
        e - The event.