Class JFrameInterface

  • All Implemented Interfaces:

    public class JFrameInterface
    extends java.lang.Object
    implements WindowInterface
    A simple WindowInterface for a JFrame. This really does nothing but wrap the WindowInterface interface around a JFrame, so that menu items that expect the WindowInterface can rely on its presence.
    • Field Summary

      Modifier and Type Field Description
      protected javax.swing.JFrame frame  
    • Constructor Summary

      Constructor Description
      JFrameInterface​(javax.swing.JFrame frame)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()  
      java.awt.Frame getFrame()
      Returns the WindowInterface as a Frame or null.
      boolean multipleInstances()
      Should 2nd and subsequent requests for a panel create a new instance, or provide the 1st one for reuse?
      void show​(JmriPanel child, JmriAbstractAction action)
      Show, in whatever way is appropriate, a specific JmriPanel
      void show​(JmriPanel child, JmriAbstractAction action, WindowInterface.Hint hint)
      Show, in whatever way is appropriate, a specific JmriPanel, in a hinted location
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait