Class Mx1Panel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Mx1PanelInterface
Direct Known Subclasses:
Mx1PacketGenPanel

public abstract class Mx1Panel extends JmriPanel implements Mx1PanelInterface
JPanel extension to handle automatic creation of window title and help reference for Mrc panels

For use with JmriAbstractAction, etc

See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • initComponents

      2nd stage of initialization, invoked after the constructor is complete.

      This needs to be connected to the initContext() method in implementing classes.

      Specified by:
      initComponents in interface Mx1PanelInterface
      Parameters:
      memo - the memo to initialize components with
    • initContext

      public void initContext(Object context)
      3rd stage of initialization, invoked after Swing components exist.
      Overrides:
      initContext in class JmriPanel
      Parameters:
      context - the context that this panel may be initialized with