IshmaelDetector
Class IshDetControl
java.lang.Object
PamController.PamControlledUnit
IshmaelDetector.IshDetControl
- All Implemented Interfaces:
- PamSettings
- Direct Known Subclasses:
- EnergySumControl, MatchFiltControl, SgramCorrControl
public abstract class IshDetControl
- extends PamControlledUnit
- implements PamSettings
|
Constructor Summary |
IshDetControl(java.lang.String controlName,
java.lang.String unitName,
IshDetParams ishDetParams)
Initializer. |
| Methods inherited from class PamController.PamControlledUnit |
addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, canClose, createDetectionMenu, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, fillXMLParameters, getFrameNumber, getNumPamProcesses, getPamController, getPamModuleInfo, getPamProcess, getPamView, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getUnitName, getUnitType, gotoTab, notifyArrayChanged, notifyModelChanged, pamHasStopped, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ishDetFnProcess
IshDetFnProcess ishDetFnProcess
ishDetParams
IshDetParams ishDetParams
ishPeakProcess
IshPeakProcess ishPeakProcess
ishDetGraphics
IshDetGraphics ishDetGraphics
ishDetSave
IshDetSave ishDetSave
IshDetControl
public IshDetControl(java.lang.String controlName,
java.lang.String unitName,
IshDetParams ishDetParams)
- Initializer.
IMPORTANT: The subclass initializer should construct the ishDetParams
to pass here. See EnergySumControl for an example.
getDefaultInputDataBlock
public abstract PamDataBlock getDefaultInputDataBlock()
- Return any old data block of the right type so that the detection
process's input can get hooked up to something from the get-go. The
input is typically re-hooked when the settings file is read.
- Returns:
- PamDataBlock
getNewDetProcess
public abstract IshDetFnProcess getNewDetProcess(PamDataBlock defaultDataBlock)
- Create a new IshDetProcess of the appropriate type and return it.
For example, EnergySumControl returns an EnergySumProcess.
prepareNonDetProcesses
public void prepareNonDetProcesses()
createDetectionMenu
public javax.swing.JMenuItem createDetectionMenu(java.awt.Frame parentFrame,
java.lang.String menuString)
showParamsDialog1
public abstract void showParamsDialog1(java.awt.Frame parentFrame)
restoreSettings
public boolean restoreSettings(PamControlledUnitSettings dummy)
- This is called after a settings file is read. The subclass should
get newParams and clone it as ishDetParams before calling here.
- Specified by:
restoreSettings in interface PamSettings
- Returns:
- true if successful The object performs final checks (if needed)
and then casts the settings data
pamcontrolledunitSettings.settings into the correct type and uses
as required
installNewParams
protected void installNewParams(java.awt.Frame parentFrame,
IshDetParams newParams)
pamToStart
public void pamToStart()
- Description copied from class:
PamControlledUnit
- called just before data acquisition starts. Note that
PamObservers get a call to setSampleRate anyway so this mainly needs
to be used for display elements that may need their scales
adjusted before startup.
- Overrides:
pamToStart in class PamControlledUnit
getOutputDataBlock
public PamDataBlock getOutputDataBlock()