Package org.bidib.wizard.mvc.pom.model
Class PomProgrammerModel
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.wizard.mvc.pom.model.PomProgrammerModel
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class PomProgrammerModel extends com.jgoodies.binding.beans.Model- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTYNAME_COMMANDSTATIONSTATEstatic StringPROPERTYNAME_CVNUMBERstatic StringPROPERTYNAME_CVVALUEstatic StringPROPERTYNAME_POMPROGSTATE
-
Constructor Summary
Constructors Constructor Description PomProgrammerModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfigVariableListener(ConfigVariableListener l)voidaddProgCommandListener(ProgCommandListener l)voidclearCvValue()org.bidib.jbidibc.messages.enums.CommandStationStategetCommandStationState()IntegergetCvNumber()IntegergetCvValue()org.bidib.jbidibc.messages.enums.PomProgStategetPomProgState()voidremoveConfigVariableListener(ConfigVariableListener l)voidremoveProgCommandListener(ProgCommandListener l)voidsetCommandStationState(org.bidib.jbidibc.messages.enums.CommandStationState commandStationState)voidsetCvNumber(Integer cvNumber)voidsetCvValue(Integer value)voidsetPomProgState(org.bidib.jbidibc.messages.enums.PomProgState pomProgState)voidupdatePomProgResult(org.bidib.jbidibc.messages.enums.PomProgState pomProgState, org.bidib.jbidibc.messages.PomAddressData decoderAddress, int cvNumber, int cvValue)-
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
-
-
-
-
Field Detail
-
PROPERTYNAME_COMMANDSTATIONSTATE
public static final String PROPERTYNAME_COMMANDSTATIONSTATE
- See Also:
- Constant Field Values
-
PROPERTYNAME_POMPROGSTATE
public static final String PROPERTYNAME_POMPROGSTATE
- See Also:
- Constant Field Values
-
PROPERTYNAME_CVNUMBER
public static final String PROPERTYNAME_CVNUMBER
- See Also:
- Constant Field Values
-
PROPERTYNAME_CVVALUE
public static final String PROPERTYNAME_CVVALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addConfigVariableListener
public void addConfigVariableListener(ConfigVariableListener l)
-
removeConfigVariableListener
public void removeConfigVariableListener(ConfigVariableListener l)
-
addProgCommandListener
public void addProgCommandListener(ProgCommandListener l)
-
removeProgCommandListener
public void removeProgCommandListener(ProgCommandListener l)
-
getCvNumber
public Integer getCvNumber()
- Returns:
- the CV number
-
setCvNumber
public void setCvNumber(Integer cvNumber)
- Parameters:
cvNumber- the CV number to set
-
getCvValue
public Integer getCvValue()
-
setCvValue
public void setCvValue(Integer value)
-
clearCvValue
public void clearCvValue()
-
getCommandStationState
public org.bidib.jbidibc.messages.enums.CommandStationState getCommandStationState()
- Returns:
- the commandStationState
-
setCommandStationState
public void setCommandStationState(org.bidib.jbidibc.messages.enums.CommandStationState commandStationState)
- Parameters:
commandStationState- the commandStationState to set
-
getPomProgState
public org.bidib.jbidibc.messages.enums.PomProgState getPomProgState()
- Returns:
- the pomProgState
-
setPomProgState
public void setPomProgState(org.bidib.jbidibc.messages.enums.PomProgState pomProgState)
- Parameters:
pomProgState- the pomProgState to set
-
updatePomProgResult
public void updatePomProgResult(org.bidib.jbidibc.messages.enums.PomProgState pomProgState, org.bidib.jbidibc.messages.PomAddressData decoderAddress, int cvNumber, int cvValue)
-
-