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:
-
Field Summary
FieldsFields inherited from class com.jgoodies.common.bean.Bean
changeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidorg.bidib.jbidibc.messages.enums.CommandStationProgStateorg.bidib.jbidibc.messages.enums.CommandStationStateintvoidvoidvoidsetCommandStationProgState(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, firePropertyChangeMethods 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 Details
-
PROPERTYNAME_COMMANDSTATIONPROGSTATE
- See Also:
-
PROPERTYNAME_CVNUMBER
- See Also:
-
PROPERTYNAME_CVVALUE
- See Also:
-
-
Constructor Details
-
PtProgrammerModel
public PtProgrammerModel()
-
-
Method Details
-
addConfigVariableListener
-
removeConfigVariableListener
-
addProgCommandListener
-
removeProgCommandListener
-
getCvNumber
public int getCvNumber()- Returns:
- the CV number
-
setCvNumber
public void setCvNumber(int cvNumber) - Parameters:
cvNumber- the CV number to set
-
getCvValue
-
setCvValue
-
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)
-