Class LocoController

java.lang.Object
org.bidib.wizard.mvc.loco.controller.LocoController

public class LocoController extends Object
The LocoController is a prototype bean and will be created per loco dialog instance.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocoController(org.bidib.wizard.api.model.CommandStationNodeInterface node, JFrame parent, org.bidib.wizard.api.model.NodeProvider nodeProvider, DialogRegistry dialogRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerLocoModelListener(org.bidib.wizard.model.loco.LocoModel locoModel)
     
    void
    start(org.bidib.jbidibc.messages.AddressData initialAddress, org.bidib.wizard.model.status.SpeedSteps speedSteps, org.bidib.wizard.model.locolist.LocoListModel locoListModel)
    Start the loco controller.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LocoController

      public LocoController(org.bidib.wizard.api.model.CommandStationNodeInterface node, JFrame parent, org.bidib.wizard.api.model.NodeProvider nodeProvider, DialogRegistry dialogRegistry)
  • Method Details

    • start

      public void start(org.bidib.jbidibc.messages.AddressData initialAddress, org.bidib.wizard.model.status.SpeedSteps speedSteps, org.bidib.wizard.model.locolist.LocoListModel locoListModel)
      Start the loco controller.
    • registerLocoModelListener

      public void registerLocoModelListener(org.bidib.wizard.model.loco.LocoModel locoModel)