Interface MacroPanelListener
- All Known Implementing Classes:
MacroPanelController
public interface MacroPanelListener
-
Method Summary
Modifier and TypeMethodDescriptionorg.bidib.jbidibc.messages.enums.LcMacroStatereloadMacro(org.bidib.wizard.api.model.Macro macro) Load the macro with the specified macro id from the node.org.bidib.jbidibc.messages.enums.LcMacroStatesaveMacro(org.bidib.wizard.api.model.Macro macro) Store the macro with the specified macro id on the node.org.bidib.jbidibc.messages.enums.LcMacroStatestartMacro(org.bidib.wizard.api.model.Macro macro, boolean transferBeforeStart) Start the macro with the specified macro id on the node.org.bidib.jbidibc.messages.enums.LcMacroStatestopMacro(org.bidib.wizard.api.model.Macro macro) Stop the macro with the specified macro id on the node.voidstoreMacroOnNode(org.bidib.wizard.api.model.Macro macro) Store the macro on the node.voidtransferMacro(org.bidib.wizard.api.model.Macro macro) Transfer the macro to the node but don't store in permanent memory.
-
Method Details
-
storeMacroOnNode
void storeMacroOnNode(org.bidib.wizard.api.model.Macro macro) Store the macro on the node.- Parameters:
macro- the macro
-
reloadMacro
org.bidib.jbidibc.messages.enums.LcMacroState reloadMacro(org.bidib.wizard.api.model.Macro macro) Load the macro with the specified macro id from the node.- Parameters:
macro- the macro- Returns:
- the macro state
-
saveMacro
org.bidib.jbidibc.messages.enums.LcMacroState saveMacro(org.bidib.wizard.api.model.Macro macro) Store the macro with the specified macro id on the node.- Parameters:
macro- the macro- Returns:
- the macro state
-
startMacro
org.bidib.jbidibc.messages.enums.LcMacroState startMacro(org.bidib.wizard.api.model.Macro macro, boolean transferBeforeStart) Start the macro with the specified macro id on the node.- Parameters:
macro- the macrotransferBeforeStart- transfer the macro before start- Returns:
- the macro state
-
stopMacro
org.bidib.jbidibc.messages.enums.LcMacroState stopMacro(org.bidib.wizard.api.model.Macro macro) Stop the macro with the specified macro id on the node.- Parameters:
macro- the macro- Returns:
- the macro state
-
transferMacro
void transferMacro(org.bidib.wizard.api.model.Macro macro) Transfer the macro to the node but don't store in permanent memory.- Parameters:
macro- the macro
-