Class DmiFrame

All Implemented Interfaces:
ComponentListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, BeanInterface, ModifiedFlag, WindowInterface

@API(status=EXPERIMENTAL) public class DmiFrame extends JmriJFrame
Class to represent an ERTMS ETCS DMI Screen within a JFrame.
Since:
5.7.4
See Also:
  • Constructor Details

    • DmiFrame

      public DmiFrame()
      Create a new DmiFrame with a default title.
    • DmiFrame

      public DmiFrame(String frameName)
      Create a new DmiFrame with a given title.
      Parameters:
      frameName - the Frame Title.
  • Method Details

    • getDmiPanel

      Get the main DmiPanel which controls the DMI Objects.
      Returns:
      the DmiPanel.
    • setVisible

      public void setVisible(boolean visible)
      Overrides:
      setVisible in class Window
    • dispose

      public void dispose()
      Description copied from class: JmriJFrame
      When window is finally destroyed, remove it from the list of windows.

      Subclasses that over-ride this method must invoke this implementation with super.dispose() right before returning.

      Specified by:
      dispose in interface WindowInterface
      Overrides:
      dispose in class JmriJFrame