Class BoosterPanel
java.lang.Object
org.bidib.wizard.mvc.main.view.panel.BoosterPanel
- All Implemented Interfaces:
TabPanelProvider,TabComponentCreator,TabVisibilityProvider
public class BoosterPanel
extends Object
implements TabVisibilityProvider, TabPanelProvider, TabComponentCreator
The
BoosterPanel displays data of the command station and booster (current, temperature and voltage).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidboosterCurrentChanged(org.bidib.jbidibc.messages.CurrentValue current, long timestamp) voidboosterMaximumCurrentChanged(Integer maximumCurrent) voidboosterStateChanged(org.bidib.wizard.model.status.BoosterStatus status) voidcommandStationStatusChanged(org.bidib.wizard.model.status.CommandStationStatus status) booleaninthashCode()booleanvoidvoidtemperatureChanged(Integer temperature) voidvoltageChanged(Integer voltage)
-
Constructor Details
-
BoosterPanel
-
-
Method Details
-
getComponent
- Specified by:
getComponentin interfaceTabPanelProvider- Specified by:
getComponentin interfaceTabVisibilityProvider- Returns:
- the visible component of the tab
-
getCreator
- Specified by:
getCreatorin interfaceTabComponentCreator- Returns:
- the creator
-
equals
-
hashCode
public int hashCode() -
commandStationStatusChanged
public void commandStationStatusChanged(org.bidib.wizard.model.status.CommandStationStatus status) -
boosterStateChanged
public void boosterStateChanged(org.bidib.wizard.model.status.BoosterStatus status) -
boosterCurrentChanged
public void boosterCurrentChanged(org.bidib.jbidibc.messages.CurrentValue current, long timestamp) -
boosterMaximumCurrentChanged
-
temperatureChanged
-
voltageChanged
-
addStatusListener
-
nodeChanged
public void nodeChanged() -
isTabVisible
public boolean isTabVisible()- Specified by:
isTabVisiblein interfaceTabVisibilityProvider- Returns:
- the tab visible state.
-