Interface LocoTableControllerListener
-
- All Known Implementing Classes:
LocoTableController
public interface LocoTableControllerListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidopenLocoDialog(LocoModel locoModel)Open the loco dialog for the provided loco model.voidopenPomDialog(LocoModel locoModel)Open the pom dialog for the provided loco model.voidpushLocoToMouse(int entryId, int speedSteps, int address, String locoName)Push the loco data to the loco database in the mousevoidqueryCommandStationList(org.bidib.jbidibc.messages.enums.CsQueryTypeEnum csQueryType, Integer locoAddress)Query the loco list from the command station.voidsaveUserDevicesList(org.bidib.jbidibc.core.schema.decoder.userdevices.UserDevicesList userDevicesList)Save the user devices list.voidsetLocoLibraryModel(LocoLibraryModel locoLibrary)Set the loco library model.
-
-
-
Method Detail
-
queryCommandStationList
void queryCommandStationList(org.bidib.jbidibc.messages.enums.CsQueryTypeEnum csQueryType, Integer locoAddress)Query the loco list from the command station.- Parameters:
csQueryType- the query typelocoAddress- the loco address to search
-
pushLocoToMouse
void pushLocoToMouse(int entryId, int speedSteps, int address, String locoName)Push the loco data to the loco database in the mouse- Parameters:
entryId- the entry id, allowed values1..8speedSteps- the speed stepsaddress- the address of the locolocoName- the name of the loco
-
saveUserDevicesList
void saveUserDevicesList(org.bidib.jbidibc.core.schema.decoder.userdevices.UserDevicesList userDevicesList)
Save the user devices list.- Parameters:
userDevicesList- the user devices list
-
setLocoLibraryModel
void setLocoLibraryModel(LocoLibraryModel locoLibrary)
Set the loco library model.- Parameters:
locoLibrary- the loco library model
-
openLocoDialog
void openLocoDialog(LocoModel locoModel)
Open the loco dialog for the provided loco model.- Parameters:
locoModel- the loco model
-
openPomDialog
void openPomDialog(LocoModel locoModel)
Open the pom dialog for the provided loco model.- Parameters:
locoModel- the loco model
-
-