public class RotationalTuningModel extends DataModel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TA_TMB_CONV_EVENT |
static java.lang.String |
TYPE_TEMPERATURE_EVENT |
| Constructor and Description |
|---|
RotationalTuningModel()
Constructor.
|
RotationalTuningModel(boolean taTmbConv,
TYPE_TEMPERATURE typeTemperature)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TYPE_TEMPERATURE |
getTypeTemperature()
Return the temperature type.
|
boolean |
isTaTmbConv()
Return if the ta to tmb conversion is enabled.
|
void |
loadConfig(java.util.Properties prop) |
void |
saveConfig(BufferedWriterProperty out) |
void |
setTaTmbConv(boolean taTmbConv)
Change the state of the ta to tmb conversion.
|
void |
setTypeTemperature(TYPE_TEMPERATURE typeTemp)
Set the temperature type.
|
addModelListener, fireDataChanged, removeAllListener, removeModelListenerpublic static final java.lang.String TA_TMB_CONV_EVENT
public static final java.lang.String TYPE_TEMPERATURE_EVENT
public RotationalTuningModel()
public RotationalTuningModel(boolean taTmbConv,
TYPE_TEMPERATURE typeTemperature)
taTmbConv - of the ta to tmb conversion is selected.typeTemperature - The temperature type.public boolean isTaTmbConv()
public void setTaTmbConv(boolean taTmbConv)
taTmbConv - The new state of the ta to tmb conversion.public TYPE_TEMPERATURE getTypeTemperature()
public void setTypeTemperature(TYPE_TEMPERATURE typeTemp)
typeTemp - the temperature type to set.public void saveConfig(BufferedWriterProperty out) throws java.io.IOException
saveConfig in class DataModeljava.io.IOExceptionpublic void loadConfig(java.util.Properties prop)
throws java.io.IOException
loadConfig in class DataModeljava.io.IOException