public class MainAnalysisController
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JPanel |
dataReaderPanel
Description of the Field
|
Constructor and Description |
---|
MainAnalysisController(java.lang.Object mainScanDocument_In,
javax.swing.JPanel parentAnalysisPanel_In,
javax.swing.JPanel analysisControlPanel_In,
javax.swing.JPanel customGraphPanel_In,
ScanVariable scanVariableParameter_In,
ScanVariable scanVariable_In,
java.util.Vector<MeasuredValue> measuredValuesV_In,
java.util.Vector<java.lang.Boolean> measuredValuesShowStateV_In,
FunctionGraphsJPanel graphScan_In,
FunctionGraphsJPanel graphAnalysis_In)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createChildAnalysis(DataAdaptor analysisConfig)
Creates all custom analysis.
|
void |
dumpChildAnalysisConfig(DataAdaptor analysisConfig)
Sets the configurations of the analysis by passing config file to the
children.
|
protected BasicGraphData |
getChoosenDraphData()
Gets the choosenDraphData attribute of the MainAnalysisController object
|
protected java.lang.Object[] |
getChoosenDraphDataAndPoint()
Gets the choosenDraphDataAndPoint attribute of the MainAnalysisController
object
|
javax.swing.JPanel |
getDataReaderPanel()
Creates all custom analysis.
|
java.lang.Object |
getMainScanDocument()
Returns the main scan document reference as Object instance.
|
static double |
getPhaseShift(BasicGraphData gd)
Returns the phase shift value for graph
|
static double |
getPhaseShift(java.util.Vector<BasicGraphData> gdV)
Returns the average phase shift value for graphs
|
static java.lang.String |
getPhaseShiftKey()
Returns the key string for graph properties specifying the x-coordinate
phase shift.
|
void |
isGoingShowUp()
This method executed when analysis panel showing up.
|
void |
isGoingShutUp()
This method executed when analysis panel is about to be shut up.
|
void |
setFontsForAll(java.awt.Font fnt)
Sets fonts for all GUI elements.
|
void |
setMessageTextField(javax.swing.JTextField messageTextLocal)
Sets local message text field.
|
void |
setScanPVandScanPV_RB_State(boolean scanPV_ShowState,
boolean scanPV_RB_ShowState)
Sets mask specifying if the data for scan PV scan read back PV should be
shown.
|
void |
updateDataSetOnGraphPanel()
Updates data on the analysis graph panel.
|
public MainAnalysisController(java.lang.Object mainScanDocument_In, javax.swing.JPanel parentAnalysisPanel_In, javax.swing.JPanel analysisControlPanel_In, javax.swing.JPanel customGraphPanel_In, ScanVariable scanVariableParameter_In, ScanVariable scanVariable_In, java.util.Vector<MeasuredValue> measuredValuesV_In, java.util.Vector<java.lang.Boolean> measuredValuesShowStateV_In, FunctionGraphsJPanel graphScan_In, FunctionGraphsJPanel graphAnalysis_In)
mainScanDocument_In
- Description of the ParameterparentAnalysisPanel_In
- Description of the ParameteranalysisControlPanel_In
- Description of the ParametercustomGraphPanel_In
- Description of the ParameterscanVariableParameter_In
- Description of the ParameterscanVariable_In
- Description of the ParametermeasuredValuesV_In
- Description of the ParametermeasuredValuesShowStateV_In
- Description of the ParametergraphScan_In
- Description of the ParametergraphAnalysis_In
- Description of the Parameterpublic static java.lang.String getPhaseShiftKey()
public void setFontsForAll(java.awt.Font fnt)
fnt
- The new fontsForAll valuepublic void setMessageTextField(javax.swing.JTextField messageTextLocal)
messageTextLocal
- The new messageTextField valuepublic java.lang.Object getMainScanDocument()
public javax.swing.JPanel getDataReaderPanel()
public void createChildAnalysis(DataAdaptor analysisConfig)
analysisConfig
- Description of the Parameterpublic void dumpChildAnalysisConfig(DataAdaptor analysisConfig)
analysisConfig
- Description of the Parameterpublic void setScanPVandScanPV_RB_State(boolean scanPV_ShowState, boolean scanPV_RB_ShowState)
scanPV_ShowState
- The new scanPVandScanPV_RB_State valuescanPV_RB_ShowState
- The new scanPVandScanPV_RB_State valuepublic void updateDataSetOnGraphPanel()
public void isGoingShowUp()
public void isGoingShutUp()
public static double getPhaseShift(java.util.Vector<BasicGraphData> gdV)
gdV
- The vector with graph data objectspublic static double getPhaseShift(BasicGraphData gd)
gd
- The graph data objectsprotected BasicGraphData getChoosenDraphData()
protected java.lang.Object[] getChoosenDraphDataAndPoint()