Interface WindowInterface

    • Method Detail

      • show

        void show​(JmriPanel child,
                  JmriAbstractAction action)
        Show, in whatever way is appropriate, a specific JmriPanel
        Parameters:
        child - new JmriPanel to show
        action - JmriAbstractAction making the request
      • show

        void show​(JmriPanel child,
                  JmriAbstractAction action,
                  WindowInterface.Hint hint)
        Show, in whatever way is appropriate, a specific JmriPanel, in a hinted location
        Parameters:
        child - new JmriPanel to show
        action - JmriAbstractAction making the request
        hint - suggestion on where to put the content
      • multipleInstances

        boolean multipleInstances()
        Should 2nd and subsequent requests for a panel create a new instance, or provide the 1st one for reuse?
        Returns:
        true if multiple instances should be provided, false if only one should be provided
      • getFrame

        java.awt.Frame getFrame()
        Returns the WindowInterface as a Frame or null.
        Returns:
        a Frame or null