Class VirtualLCDFrame

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

public class VirtualLCDFrame extends JmriJFrame implements DCCppListener
Frame to image the DCC-EX command station's OLED display Also sends request to DCC-EX to send copies of all LCD messages to this instance of JMRI
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • message

      public void message(DCCppMessage msg)
      Member function that will be invoked by a DCCppInterface implementation to forward a DCC++ message sent to the layout. Normally, this function will do nothing.
      Specified by:
      message in interface DCCppListener
      Parameters:
      msg - The received DCC++ message. Note that this same object may be presented to multiple users. It should not be modified here.
    • message

      public void message(DCCppReply msg)
      Member function that will be invoked by a DCCppInterface implementation to forward a DCC++ message from the layout.
      Specified by:
      message in interface DCCppListener
      Parameters:
      msg - The received DCC++ message. Note that this same object may be presented to multiple users. It should not be modified here.
    • notifyTimeout

      public void notifyTimeout(DCCppMessage msg)
      Member function invoked by an DCCppInterface implementation to notify a sender that an outgoing message timed out and was dropped from the queue.
      Specified by:
      notifyTimeout in interface DCCppListener
      Parameters:
      msg - the message that timed out.
    • initComponents

      public void initComponents()
      By default, Swing components should be created an installed in this method, rather than in the ctor itself.
      Overrides:
      initComponents in class JmriJFrame