Package org.bidib.wizard.mvc.pt.model
Class PtProgrammerModel
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.wizard.mvc.pt.model.PtProgrammerModel
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class PtProgrammerModel extends com.jgoodies.binding.beans.Model- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTYNAME_COMMANDSTATIONPROGSTATEstatic StringPROPERTYNAME_CVNUMBERstatic StringPROPERTYNAME_CVVALUE
-
Constructor Summary
Constructors Constructor Description PtProgrammerModel()
-
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.CommandStationProgStategetCommandStationProgState()org.bidib.jbidibc.messages.enums.CommandStationStategetCommandStationState()intgetCvNumber()IntegergetCvValue()voidremoveConfigVariableListener(ConfigVariableListener l)voidremoveProgCommandListener(ProgCommandListener l)voidsetCommandStationProgState(org.bidib.jbidibc.messages.enums.CommandStationProgState commandStationProgState)voidsetCommandStationState(org.bidib.jbidibc.messages.enums.CommandStationState commandStationState)voidsetCvNumber(int cvNumber)voidsetCvValue(Integer value)voidupdateCommandStationProgResult(org.bidib.jbidibc.messages.enums.CommandStationProgState commandStationProgState, int remainingTime, 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_COMMANDSTATIONPROGSTATE
public static final String PROPERTYNAME_COMMANDSTATIONPROGSTATE
- 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 int getCvNumber()
- Returns:
- the CV number
-
setCvNumber
public void setCvNumber(int 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
-
getCommandStationProgState
public org.bidib.jbidibc.messages.enums.CommandStationProgState getCommandStationProgState()
- Returns:
- the commandStationProgState
-
setCommandStationProgState
public void setCommandStationProgState(org.bidib.jbidibc.messages.enums.CommandStationProgState commandStationProgState)
- Parameters:
commandStationProgState- the commandStationProgState to set
-
updateCommandStationProgResult
public void updateCommandStationProgResult(org.bidib.jbidibc.messages.enums.CommandStationProgState commandStationProgState, int remainingTime, int cvNumber, int cvValue)
-
-