Class Z21ConfigFrame

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

public class Z21ConfigFrame extends JmriJFrame implements Z21Listener
Frame displaying Version information and broadcast flags for Z21 hardware.

This is a utility for reading the hardware and software versions of your Z21 command station and along with the flags and the serial number.

See Also:
  • Constructor Details

  • Method Details

    • reply

      public void reply(Z21Reply zr)
      Listen for responses from the Z21.
      Specified by:
      reply in interface Z21Listener
      Parameters:
      zr - the reply
    • message

      public void message(Z21Message zm)
      Listen for the messages sent to the Z21.
      Specified by:
      message in interface Z21Listener
      Parameters:
      zm - the message to listen for
    • 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