Class NcePanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, NcePanelInterface
Direct Known Subclasses:
BoosterProgPanel, ClockMonPanel, NceConsistEditPanel, NceMacroEditPanel, NceMacroGenPanel, NcePacketGenPanel, NceShowCabPanel, UsbInterfacePanel

public abstract class NcePanel extends JmriPanel implements NcePanelInterface
JPanel extension to handle automatic creation of window title and help reference for NcePanels.

For use with JmriAbstractAction, etc

Since:
2.9.4 Copied from LocoNet.swing
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • initComponents

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

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

      Specified by:
      initComponents in interface NcePanelInterface
      Parameters:
      memo - the system connection memo for this connection
    • 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