Class SelectedCar
- java.lang.Object
-
- com.jgoodies.common.bean.Bean
-
- com.jgoodies.binding.beans.Model
-
- org.bidib.jbidibc.usbstickbasis.adapter.SelectedCar
-
- All Implemented Interfaces:
com.jgoodies.common.bean.ObservableBean,com.jgoodies.common.bean.ObservableBean2,Serializable
public class SelectedCar extends com.jgoodies.binding.beans.Model- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROPERTYNAME_DECODERADDRESSstatic StringPROPERTYNAME_FUNCTIONMAPstatic StringPROPERTYNAME_FUNCTIONVALUEstatic StringPROPERTYNAME_SCALE
-
Constructor Summary
Constructors Constructor Description SelectedCar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetDecoderAddress()Map<Integer,Integer>getFunctionMap()IntegergetFunctionValue(Integer functionAddress)Get the value of the function from the cache.IntegergetScale()voidsetDecoderAddress(Integer decoderAddress)voidsetFunctionMap(Map<Integer,Integer> functionMap)voidsetFunctionValue(Integer functionAddress, Integer functionValue)Set the function value in the cache.voidsetScale(Integer scale)-
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_DECODERADDRESS
public static final String PROPERTYNAME_DECODERADDRESS
- See Also:
- Constant Field Values
-
PROPERTYNAME_SCALE
public static final String PROPERTYNAME_SCALE
- See Also:
- Constant Field Values
-
PROPERTYNAME_FUNCTIONMAP
public static final String PROPERTYNAME_FUNCTIONMAP
- See Also:
- Constant Field Values
-
PROPERTYNAME_FUNCTIONVALUE
public static final String PROPERTYNAME_FUNCTIONVALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDecoderAddress
public Integer getDecoderAddress()
- Returns:
- the decoderAddress
-
setDecoderAddress
public void setDecoderAddress(Integer decoderAddress)
- Parameters:
decoderAddress- the decoderAddress to set
-
getScale
public Integer getScale()
- Returns:
- the scale
-
setScale
public void setScale(Integer scale)
- Parameters:
scale- the scale to set
-
setFunctionMap
public void setFunctionMap(Map<Integer,Integer> functionMap)
- Parameters:
functionMap- the functionMap to set
-
getFunctionValue
public Integer getFunctionValue(Integer functionAddress)
Get the value of the function from the cache.- Parameters:
functionAddress- the function address- Returns:
- the value, or
nullif not available
-
-