com.isti.jplotresp
Class CmdLnPlotter

java.lang.Object
  extended by com.isti.jevalresp.Run
      extended by com.isti.jplotresp.CmdLnPlotter

public class CmdLnPlotter
extends Run

Class CmdLnPlotter is an extension to JEvalResp that accepts command-line arguments and plots the results.


Nested Class Summary
protected  class CmdLnPlotter.SetupLookAndFeel
          Class SetupLookAndFeel has a constructor that sets up the "look & feel" for the applet.
 
Field Summary
protected  CfgPropItem inAmpPhaseFlagProp
          Flag set true to read input from AMP/PHASE files.
protected  javax.swing.JPanel mainPanel
           
protected  javax.swing.JTabbedPane tabbedPaneObj
           
protected  javax.swing.JTextArea textAreaObj
           
 
Fields inherited from class com.isti.jevalresp.Run
b62XValue, b62XValueProp, beginCalObj, chaNamesArray, debugFlag, debugFlagProp, endCalObj, endDayProp, endTimeProp, endYearProp, errorMessage, exitStatusValue, fileNameProp, fileNameString, frequenciesArray, HDR_CMT_STR, headerFlag, headerFlagProp, INTERP_TENSION_DEFVAL, interpInputFlagProp, interpListFlagProp, interpTensionProp, listInterpInFlag, listInterpOutFlag, listInterpTension, locationIdProp, logSpacingFlag, maxFreqValue, minFreqValue, minimumFrequencyFlag, multiOutFlag, multiOutFlagProp, multiSvrFlag, multiSvrFlagProp, netNamesArray, networkIdProp, numberFreqs, outputDirectory, outputDirectoryProp, outUnitsConvIdx, outUnitsConvProp, paramProps, PROGRAM_NAME, propsFileProp, propsFileString, RESP_AP_TYPEIDX, RESP_AP2_TYPEIDX, RESP_CS_TYPEIDX, RESP_FAP_TYPEIDX, RESP_TYPE_LONGSTRS, RESP_TYPE_STRS, responseTypeProp, respTypeIndex, REVISION_STR, showInputFlag, showInputFlagProp, siteNamesArray, stageNumbersProp, staNamesArray, startStageNum, stdioFlag, stdioFlagProp, stopStageNum, timeFmtObj, timeOfDayProp, totalSensitFlag, totalSensitFlagProp, TYPE_SPACE_LONGSTRS, TYPE_SPACE_STRS, typeOfSpacingProp, UNIT_CONV_DEFIDX, UNIT_CONV_LONGSTRS, UNIT_CONV_STRS, unwrapPhaseFlag, unwrapPhaseFlagProp, useDelayFlag, useDelayFlagProp, VER1_STR, VER2_STR, verboseFlag, verboseFlagProp, VERSION_NUM_STR
 
Constructor Summary
CmdLnPlotter()
           
 
Method Summary
 javax.swing.JPanel createProgramPanels()
          Creates the panels for the GUI.
 void generateProgramOutput(java.lang.String[] args)
          Generates the program output.
static void main(java.lang.String[] args)
          Program entry point; creates a 'CmdLnPlotter' and shows its main panel in a frame.
 boolean processAndOutput(java.lang.String[] args)
          Processes parameters, performs requested operations and generates the output.
 
Methods inherited from class com.isti.jevalresp.Run
addTimeToCalendar, checkWebServicesServer, clearErrorMessage, enterStartStopStageNums, generateNetResponses, generateResponses, generateWebResponses, getConsoleOut, getErrorFlag, getErrorMessage, getExitStatusValue, listToStringArray, optionsArrToString, preprocessParameters, processNonSwitchParams, processSwitchParams, setErr, setErrorMessage, unitInfoStr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainPanel

protected final javax.swing.JPanel mainPanel

tabbedPaneObj

protected final javax.swing.JTabbedPane tabbedPaneObj

textAreaObj

protected final javax.swing.JTextArea textAreaObj

inAmpPhaseFlagProp

protected final CfgPropItem inAmpPhaseFlagProp
Flag set true to read input from AMP/PHASE files.

Constructor Detail

CmdLnPlotter

public CmdLnPlotter()
Method Detail

createProgramPanels

public javax.swing.JPanel createProgramPanels()
Creates the panels for the GUI.

Returns:
the main panel object, or null if error occurred (in which case an error message will be sent to 'stderr').

generateProgramOutput

public void generateProgramOutput(java.lang.String[] args)
Generates the program output.

Parameters:
args - program args

processAndOutput

public boolean processAndOutput(java.lang.String[] args)
Processes parameters, performs requested operations and generates the output.

Overrides:
processAndOutput in class Run
Parameters:
args - an array of command-line parameters.
Returns:
true if successful, false if a parameter error was detected (in which case the 'getErrorMessage()' and 'getExitStatusValue()' methods may be used to fetch information about the error.)

main

public static void main(java.lang.String[] args)
Program entry point; creates a 'CmdLnPlotter' and shows its main panel in a frame.

Parameters:
args - program arguments