cassis.gui.model.lteradex
public class LteRadexControl extends java.lang.Object implements ModelListener, ISpectrumComputation, java.awt.event.ActionListener
| Constructor and Description |
|---|
LteRadexControl(LteRadexModel model,
LteRadexPanel lteRadexPanel) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
computeLteRadexSpectrum()
Compute the spectrum with the LteRadex Model
|
void |
dataChanged(ModelChangedEvent event) |
void |
display() |
CassisTableDisplayListenerList |
getListeners() |
LteRadexModel |
getModel() |
CommentedSpectrum |
getResult() |
LteRadexPanel |
getView() |
void |
invokeSpectrumComputation() |
void |
loadConfig(java.io.File selectedFile) |
void |
loadConfigButtonClicked(java.awt.event.MouseEvent e) |
void |
onDisplayButton()
on display button clicked handle
|
void |
refreshNoiseUnit(java.lang.String telescope)
Refresh the noise unit according to the telescope.
|
void |
setModel(LteRadexModel newLteRadexModel)
Set a new model.
|
void |
setResult(CommentedSpectrum spectrum) |
void |
setView(LteRadexPanel view)
set the view
|
public LteRadexControl(LteRadexModel model, LteRadexPanel lteRadexPanel)
public LteRadexModel getModel()
public CassisTableDisplayListenerList getListeners()
public LteRadexPanel getView()
public void setView(LteRadexPanel view)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void onDisplayButton()
public void computeLteRadexSpectrum()
public void invokeSpectrumComputation()
invokeSpectrumComputation in interface ISpectrumComputationpublic CommentedSpectrum getResult()
public void setResult(CommentedSpectrum spectrum)
public void loadConfig(java.io.File selectedFile)
selectedFile - public void dataChanged(ModelChangedEvent event)
dataChanged in interface ModelListenerpublic void refreshNoiseUnit(java.lang.String telescope)
telescope - The telescope.public void display()
display in interface ISpectrumComputationpublic void setModel(LteRadexModel newLteRadexModel)
newLteRadexModel - The new LteRadexModel to use.public void loadConfigButtonClicked(java.awt.event.MouseEvent e)