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 ScheduledExecutorServiceserviceWorker
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vlsolutions.swing.docking.DockablecreateDockable()voidsetBoosterState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.BoosterStatus boosterStatus)Set the new booster state.voidsetCommandStationState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.enums.CommandStationState csStatus)Set the new command station state.voidstart()
-
-
-
Field Detail
-
serviceWorker
protected final ScheduledExecutorService serviceWorker
-
-
Constructor Detail
-
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 Detail
-
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:BoosterTableControllerListenerSet the new booster state.- Specified by:
setBoosterStatein interfaceBoosterTableControllerListener- Parameters:
node- the nodeboosterStatus- 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:BoosterTableControllerListenerSet the new command station state.- Specified by:
setCommandStationStatein interfaceBoosterTableControllerListener- Parameters:
node- the nodecsStatus- the new command station status
-
-