Class BoosterTableController
java.lang.Object
org.bidib.wizard.mvc.booster.controller.BoosterTableController
- All Implemented Interfaces:
BoosterTableControllerListener
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBoosterTableController(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 TypeMethodDescriptioncom.vlsolutions.swing.docking.DockablevoidsetBoosterState(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 Details
-
serviceWorker
-
-
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: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
-