Package org.bidib.wizard.mvc.pom.model
Class ProgCommandAwareBeanModel
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.wizard.mvc.pom.model.ProgCommandAwareBeanModel
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
- Direct Known Subclasses:
AddressProgBeanModel,DirectAccessProgBeanModel,PidParamsBeanModel,RailcomProgBeanModel,SpeedometerProgBeanModel,SpeedScaleBeanModel
public class ProgCommandAwareBeanModel extends com.jgoodies.binding.beans.Model- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProgCommandAwareBeanModel.ExecutionType
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTYNAME_CURRENT_DECODER_ADDRESSstatic StringPROPERTYNAME_CURRENT_OPERATIONstatic StringPROPERTYNAME_EXECUTED_PROG_COMMANDSstatic StringPROPERTYNAME_EXECUTING_PROG_COMMANDstatic StringPROPERTYNAME_EXECUTIONstatic StringPROPERTYNAME_PROG_COMMANDS
-
Constructor Summary
Constructors Constructor Description ProgCommandAwareBeanModel()
-
Method Summary
-
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_CURRENT_OPERATION
public static final String PROPERTYNAME_CURRENT_OPERATION
- See Also:
- Constant Field Values
-
PROPERTYNAME_EXECUTION
public static final String PROPERTYNAME_EXECUTION
- See Also:
- Constant Field Values
-
PROPERTYNAME_EXECUTING_PROG_COMMAND
public static final String PROPERTYNAME_EXECUTING_PROG_COMMAND
- See Also:
- Constant Field Values
-
PROPERTYNAME_PROG_COMMANDS
public static final String PROPERTYNAME_PROG_COMMANDS
- See Also:
- Constant Field Values
-
PROPERTYNAME_EXECUTED_PROG_COMMANDS
public static final String PROPERTYNAME_EXECUTED_PROG_COMMANDS
- See Also:
- Constant Field Values
-
PROPERTYNAME_CURRENT_DECODER_ADDRESS
public static final String PROPERTYNAME_CURRENT_DECODER_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentOperation
public org.bidib.jbidibc.messages.enums.PomOperation getCurrentOperation()
- Returns:
- the currentOperation
-
setCurrentOperation
public void setCurrentOperation(org.bidib.jbidibc.messages.enums.PomOperation currentOperation)
- Parameters:
currentOperation- the currentOperation to set
-
getExecution
public ProgCommandAwareBeanModel.ExecutionType getExecution()
- Returns:
- the execution
-
setExecution
public void setExecution(ProgCommandAwareBeanModel.ExecutionType execution)
- Parameters:
execution- the execution to set
-
getExecutingProgCommand
public PomOperationCommand<? extends ProgCommandAwareBeanModel> getExecutingProgCommand()
- Returns:
- the executingProgCommand
-
setExecutingProgCommand
public void setExecutingProgCommand(PomOperationCommand<? extends ProgCommandAwareBeanModel> executingProgCommand)
- Parameters:
executingProgCommand- the executingProgCommand to set
-
getProgCommands
public List<PomOperationCommand<? extends ProgCommandAwareBeanModel>> getProgCommands()
- Returns:
- the progCommands
-
setProgCommands
public void setProgCommands(List<PomOperationCommand<? extends ProgCommandAwareBeanModel>> progCommands)
- Parameters:
progCommands- the progCommands to set
-
setFinishAction
public void setFinishAction(io.reactivex.rxjava3.core.SingleObserver<String> finishAction)
- Parameters:
finishAction- the finish action
-
getFinishAction
public io.reactivex.rxjava3.core.SingleObserver<String> getFinishAction()
- Returns:
- the finish action
-
getExecutedProgCommands
public List<PomOperationCommand<? extends ProgCommandAwareBeanModel>> getExecutedProgCommands()
- Returns:
- the executedProgCommands
-
setExecutedProgCommands
public void setExecutedProgCommands(List<PomOperationCommand<? extends ProgCommandAwareBeanModel>> executedProgCommands)
- Parameters:
executedProgCommands- the executedProgCommands to set
-
getCurrentDecoderAddress
public Integer getCurrentDecoderAddress()
- Returns:
- the currentDecoderAddress
-
setCurrentDecoderAddress
public void setCurrentDecoderAddress(Integer currentDecoderAddress)
- Parameters:
currentDecoderAddress- the currentDecoderAddress to set
-
-