Interface PtResultListener

All Known Implementing Classes:
AbstractPtPanel, AddressPanel, DirectAccessPanel, RailcomPanel

public interface PtResultListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLogText(String logLine, Object... args)
    Add a new line to the logger area.
    boolean
     
    void
    setActive(boolean active)
    Sets the listener active or inactive.
    void
    signalCommandStationProgStateChanged(org.bidib.jbidibc.messages.enums.CommandStationProgState commandStationProgState)
    Signals that the command station prog state has changed.
  • Method Details

    • setActive

      void setActive(boolean active)
      Sets the listener active or inactive.
      Parameters:
      active - the active flag
    • isActive

      boolean isActive()
      Returns:
      listener is active
    • addLogText

      void addLogText(String logLine, Object... args)
      Add a new line to the logger area.
      Parameters:
      logLine - the message to log. Use {} as placeholders for args.
      args - the args
    • signalCommandStationProgStateChanged

      void signalCommandStationProgStateChanged(org.bidib.jbidibc.messages.enums.CommandStationProgState commandStationProgState)
      Signals that the command station prog state has changed.
      Parameters:
      commandStationProgState - the new command station prog state