Class BoosterTableController

java.lang.Object
org.bidib.wizard.mvc.booster.controller.BoosterTableController
All Implemented Interfaces:
BoosterTableControllerListener

public class BoosterTableController extends Object implements BoosterTableControllerListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ScheduledExecutorService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoosterTableController(com.vlsolutions.swing.docking.DockingDesktop desktop, Supplier<org.bidib.wizard.api.model.NodeProvider> nodeProviderSupplier, org.bidib.wizard.api.model.NodeListProvider nodeListProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vlsolutions.swing.docking.Dockable
     
    void
    setBoosterState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.BoosterStatus boosterStatus)
    Set the new booster state.
    void
    setCommandStationState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationState csStatus)
    Set the new command station state.
    void
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • BoosterTableController

      public BoosterTableController(com.vlsolutions.swing.docking.DockingDesktop desktop, Supplier<org.bidib.wizard.api.model.NodeProvider> nodeProviderSupplier, org.bidib.wizard.api.model.NodeListProvider nodeListProvider)
  • Method Details

    • start

      public void start()
    • createDockable

      public com.vlsolutions.swing.docking.Dockable createDockable()
    • setBoosterState

      public void setBoosterState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.BoosterStatus boosterStatus)
      Description copied from interface: BoosterTableControllerListener
      Set the new booster state.
      Specified by:
      setBoosterState in interface BoosterTableControllerListener
      Parameters:
      node - the node
      boosterStatus - the new booster status
    • setCommandStationState

      public void setCommandStationState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationState csStatus)
      Description copied from interface: BoosterTableControllerListener
      Set the new command station state.
      Specified by:
      setCommandStationState in interface BoosterTableControllerListener
      Parameters:
      node - the node
      csStatus - the new command station status