Package org.bidib.wizard.mvc.pom.model
Class RailcomProgBeanModel
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.wizard.mvc.pom.model.ProgCommandAwareBeanModel
-
- org.bidib.wizard.mvc.pom.model.RailcomProgBeanModel
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class RailcomProgBeanModel extends ProgCommandAwareBeanModel
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bidib.wizard.mvc.pom.model.ProgCommandAwareBeanModel
ProgCommandAwareBeanModel.ExecutionType
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTYNAME_CHANNEL_1static StringPROPERTYNAME_CHANNEL_2static StringPROPERTYNAME_CHANNEL_USAGEstatic StringPROPERTYNAME_RAILCOM_PLUS-
Fields inherited from class org.bidib.wizard.mvc.pom.model.ProgCommandAwareBeanModel
PROPERTYNAME_CURRENT_DECODER_ADDRESS, PROPERTYNAME_CURRENT_OPERATION, PROPERTYNAME_EXECUTED_PROG_COMMANDS, PROPERTYNAME_EXECUTING_PROG_COMMAND, PROPERTYNAME_EXECUTION, PROPERTYNAME_PROG_COMMANDS
-
-
Constructor Summary
Constructors Constructor Description RailcomProgBeanModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisChannel1()booleanisChannel2()booleanisChannelUsage()booleanisRailcomPlus()voidsetChannel1(boolean channel1)voidsetChannel2(boolean channel2)voidsetChannelUsage(boolean channelUsage)voidsetRailcomPlus(boolean railcomPlus)-
Methods inherited from class org.bidib.wizard.mvc.pom.model.ProgCommandAwareBeanModel
getCurrentDecoderAddress, getCurrentOperation, getExecutedProgCommands, getExecutingProgCommand, getExecution, getFinishAction, getProgCommands, setCurrentDecoderAddress, setCurrentOperation, setExecutedProgCommands, setExecutingProgCommand, setExecution, setFinishAction, setProgCommands, toString
-
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_CHANNEL_1
public static final String PROPERTYNAME_CHANNEL_1
- See Also:
- Constant Field Values
-
PROPERTYNAME_CHANNEL_2
public static final String PROPERTYNAME_CHANNEL_2
- See Also:
- Constant Field Values
-
PROPERTYNAME_CHANNEL_USAGE
public static final String PROPERTYNAME_CHANNEL_USAGE
- See Also:
- Constant Field Values
-
PROPERTYNAME_RAILCOM_PLUS
public static final String PROPERTYNAME_RAILCOM_PLUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isChannel1
public boolean isChannel1()
- Returns:
- the channel1
-
setChannel1
public void setChannel1(boolean channel1)
- Parameters:
channel1- the channel1 to set
-
isChannel2
public boolean isChannel2()
- Returns:
- the channel2
-
setChannel2
public void setChannel2(boolean channel2)
- Parameters:
channel2- the channel2 to set
-
isChannelUsage
public boolean isChannelUsage()
- Returns:
- the channelUsage
-
setChannelUsage
public void setChannelUsage(boolean channelUsage)
- Parameters:
channelUsage- the channelUsage to set
-
isRailcomPlus
public boolean isRailcomPlus()
- Returns:
- the railcomPlus
-
setRailcomPlus
public void setRailcomPlus(boolean railcomPlus)
- Parameters:
railcomPlus- the railcomPlus to set
-
-