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 JPanel
protected JPanel
protected JPanel
protected JPanel
protected FunctionGraphsJPanel
protected BasicGraphData
protected MainAnalysisController
protected Vector<MeasuredValue>
protected JTextField
protected String
protected JPanel
protected boolean
protected boolean
protected ScanVariable
protected ScanVariable
protected 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 TypeMethodDescriptionvoid
dumpAnalysisConfig
(DataAdaptor analysisConfig) Sets the configuration of the analysis.getName()
Returns the name of the analysis.Returns the type name of the analysis.void
setFontsForAll
(Font fnt) Sets fonts for all GUI elements.void
setMessageTextField
(JTextField messageTextLocal) Sets local message text field.void
Sets the name of the analysis.void
setScanPVandScanPVRBState
(boolean scanPVShowState, boolean scanPVRBShowState) Sets mask specifying if the data for scan PV scan read back PV should be shown.void
setTypeName
(String typeName) Sets the type name of the analysis.void
showUp()
Does what necessary for open this analysis window.void
shutUp()
Does what necessary for close this analysis window.void
Updates 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.
-