Interface LocoTableControllerListener

All Known Implementing Classes:
LocoTableController

public interface LocoTableControllerListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteLoco(org.bidib.wizard.model.locolist.LocoListModel locoModel)
    Delete the loco from the dcc refresh and from the stored locos.
    void
    openLocoDialog(org.bidib.wizard.model.locolist.LocoListModel locoModel)
    Open the loco dialog for the provided loco model.
    void
    openPomDialog(org.bidib.wizard.model.locolist.LocoListModel locoModel)
    Open the pom dialog for the provided loco model.
    void
    pushLocoToMouse(int entryId, int speedSteps, int address, String locoName)
    Push the loco data to the loco database in the mouse
    void
    queryCommandStationList(org.bidib.jbidibc.messages.enums.CsQueryTypeEnum csQueryType, Integer locoAddress)
    Query the loco list from the command station.
    void
    Set the loco library model.
  • Method Details

    • queryCommandStationList

      void queryCommandStationList(org.bidib.jbidibc.messages.enums.CsQueryTypeEnum csQueryType, Integer locoAddress)
      Query the loco list from the command station.
      Parameters:
      csQueryType - the query type
      locoAddress - the loco address to search
    • pushLocoToMouse

      void pushLocoToMouse(int entryId, int speedSteps, int address, String locoName)
      Push the loco data to the loco database in the mouse
      Parameters:
      entryId - the entry id, allowed values 1..8
      speedSteps - the speed steps
      address - the address of the loco
      locoName - the name of the loco
    • setLocoLibraryModel

      void setLocoLibraryModel(LocoLibraryModel locoLibrary)
      Set the loco library model.
      Parameters:
      locoLibrary - the loco library model
    • openLocoDialog

      void openLocoDialog(org.bidib.wizard.model.locolist.LocoListModel locoModel)
      Open the loco dialog for the provided loco model.
      Parameters:
      locoModel - the loco model
    • openPomDialog

      void openPomDialog(org.bidib.wizard.model.locolist.LocoListModel locoModel)
      Open the pom dialog for the provided loco model.
      Parameters:
      locoModel - the loco model
    • deleteLoco

      void deleteLoco(org.bidib.wizard.model.locolist.LocoListModel locoModel)
      Delete the loco from the dcc refresh and from the stored locos.
      Parameters:
      locoModel - the loco model