Package xal.extension.scan.analysis
Class AnalysisController
java.lang.Object
xal.extension.scan.analysis.AnalysisController
- Direct Known Subclasses:
AnalysisCntrlDTLPhase,AnalysisCntrlEmpty,AnalysisCntrlFindIntersection,AnalysisCntrlFindMinMax,AnalysisCntrlManagement,AnalysisCntrlPolynomFit,AnalysisCntrlTDProcedure
This class is a base class for different analysis of the scan data.
- Version:
- 1.0
- Author:
- A. Shishlo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JPanelprotected JPanelprotected JPanelprotected JPanelprotected FunctionGraphsJPanelprotected BasicGraphDataprotected MainAnalysisControllerprotected Vector<MeasuredValue>protected JTextFieldprotected Stringprotected JPanelprotected booleanprotected booleanprotected ScanVariableprotected ScanVariableprotected String -
Constructor Summary
ConstructorsConstructorDescriptionAnalysisController(MainAnalysisController mainControllerIn, DataAdaptor analysisConf, JPanel parentAnalysisPanelIn, JPanel customControlPanelIn, JPanel customGraphPanelIn, JPanel globalButtonsPanelIn, ScanVariable scanVariableParameterIn, ScanVariable scanVariableIn, Vector<MeasuredValue> measuredValuesVIn, FunctionGraphsJPanel graphAnalysisIn, JTextField messageTextLocalIn, BasicGraphData graphDataLocalIn) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoiddumpAnalysisConfig(DataAdaptor analysisConfig) Sets the configuration of the analysis.getName()Returns the name of the analysis.Returns the type name of the analysis.voidsetFontsForAll(Font fnt) Sets fonts for all GUI elements.voidsetMessageTextField(JTextField messageTextLocal) Sets local message text field.voidSets the name of the analysis.voidsetScanPVandScanPVRBState(boolean scanPVShowState, boolean scanPVRBShowState) Sets mask specifying if the data for scan PV scan read back PV should be shown.voidsetTypeName(String typeName) Sets the type name of the analysis.voidshowUp()Does what necessary for open this analysis window.voidshutUp()Does what necessary for close this analysis window.voidUpdates data on the analysis graph panel.
-
Field Details
-
name
-
typeName
-
scanPVShowState
protected boolean scanPVShowState -
scanPVRBShowState
protected boolean scanPVRBShowState -
mainController
-
parentAnalysisPanel
-
customControlPanel
-
customGraphPanel
-
globalButtonsPanel
-
scanVariableParameter
-
scanVariable
-
measuredValuesV
-
graphAnalysis
-
messageTextLocal
-
dataReaderPanel
-
graphDataLocal
-
-
Constructor Details
-
AnalysisController
public AnalysisController(MainAnalysisController mainControllerIn, DataAdaptor analysisConf, JPanel parentAnalysisPanelIn, JPanel customControlPanelIn, JPanel customGraphPanelIn, JPanel globalButtonsPanelIn, ScanVariable scanVariableParameterIn, ScanVariable scanVariableIn, Vector<MeasuredValue> measuredValuesVIn, FunctionGraphsJPanel graphAnalysisIn, JTextField messageTextLocalIn, BasicGraphData graphDataLocalIn) The constructor.
-
-
Method Details
-
setName
Sets the name of the analysis. -
setTypeName
Sets the type name of the analysis. -
getName
Returns the name of the analysis. -
getTypeName
Returns the type name of the analysis. -
setScanPVandScanPVRBState
public void setScanPVandScanPVRBState(boolean scanPVShowState, boolean scanPVRBShowState) Sets mask specifying if the data for scan PV scan read back PV should be shown. -
dumpAnalysisConfig
Sets the configuration of the analysis. The subclasses should call the super-class method in this method. -
setFontsForAll
Sets fonts for all GUI elements. The subclasses should call the super-class method in this method. -
shutUp
public void shutUp()Does what necessary for close this analysis window. This method could be overridden, because it is empty here. -
showUp
public void showUp()Does what necessary for open this analysis window. This method could be overridden, because it is empty here. -
updateDataSetOnGraphPanel
public void updateDataSetOnGraphPanel()Updates data on the analysis graph panel. This method will be called outside of this analysis controller, and should update data only related to the inner business for this analysis. This method could be overridden, because it is empty here. -
setMessageTextField
Sets local message text field.
-