Class BoosterTableModel

java.lang.Object
com.jgoodies.common.bean.Bean
com.jgoodies.binding.beans.Model
org.bidib.wizard.mvc.booster.model.BoosterTableModel
All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean, com.jgoodies.common.bean.ObservableBean2, Serializable

public class BoosterTableModel extends com.jgoodies.binding.beans.Model
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.jgoodies.common.bean.Bean

    changeSupport
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoosterTableModel(StatusBarPublisher<String,Integer> publisher, org.bidib.wizard.api.service.console.ConsoleService consoleService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addBooster(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.common.labels.WizardLabelWrapper wizardLabelWrapper)
     
    com.jgoodies.common.collect.ArrayListModel<BoosterModel>
     
     
    void
    removeBooster(org.bidib.wizard.api.model.NodeInterface node)
     
    void
    setBoosterCurrent(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.CurrentValue current, Consumer<Integer> overcurrent)
     
    void
    setBoosterState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.BoosterStatus state)
     
    void
    setBoosterTemperature(org.bidib.wizard.api.model.NodeInterface node, int temperature)
     
    void
    setBoosterVoltage(org.bidib.wizard.api.model.NodeInterface node, Integer voltage)
     
    void
    setCommandStationStatus(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.CommandStationStatus status)
     
    void
    triggerFetchBoosterMaxCurrent(org.bidib.wizard.api.model.NodeInterface node)
     

    Methods inherited from class com.jgoodies.binding.beans.Model

    createPropertyChangeSupport, firePropertyChange

    Methods inherited from class com.jgoodies.common.bean.Bean

    addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BoosterTableModel

      public BoosterTableModel(StatusBarPublisher<String,Integer> publisher, org.bidib.wizard.api.service.console.ConsoleService consoleService)
  • Method Details

    • addBooster

      public void addBooster(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.common.labels.WizardLabelWrapper wizardLabelWrapper)
    • removeBooster

      public void removeBooster(org.bidib.wizard.api.model.NodeInterface node)
    • getBoosterListModel

      public com.jgoodies.common.collect.ArrayListModel<BoosterModel> getBoosterListModel()
    • getBoosters

      public List<BoosterModel> getBoosters()
    • setBoosterState

      public void setBoosterState(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.BoosterStatus state)
    • setCommandStationStatus

      public void setCommandStationStatus(org.bidib.wizard.api.model.NodeInterface node, org.bidib.wizard.model.status.CommandStationStatus status)
    • setBoosterCurrent

      public void setBoosterCurrent(org.bidib.wizard.api.model.NodeInterface node, org.bidib.jbidibc.messages.CurrentValue current, Consumer<Integer> overcurrent)
    • triggerFetchBoosterMaxCurrent

      public void triggerFetchBoosterMaxCurrent(org.bidib.wizard.api.model.NodeInterface node)
    • setBoosterVoltage

      public void setBoosterVoltage(org.bidib.wizard.api.model.NodeInterface node, Integer voltage)
    • setBoosterTemperature

      public void setBoosterTemperature(org.bidib.wizard.api.model.NodeInterface node, int temperature)