Package adams.gui.scripting
Class AbstractSpectrumPanelScriptlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.scripting.AbstractScriptlet
-
- adams.gui.scripting.AbstractUndoScriptlet
-
- adams.gui.scripting.AbstractSpectrumPanelScriptlet
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter
,adams.core.SizeOfHandler
,adams.core.Stoppable
,adams.core.StoppableWithFeedback
,adams.gui.core.UndoHandler
,Serializable
,Comparable
- Direct Known Subclasses:
SelectWaveNumber
,WriteSpectrum
public abstract class AbstractSpectrumPanelScriptlet extends adams.gui.scripting.AbstractUndoScriptlet
Ancestor for scriptlets that require a SpectrumPanel.- Version:
- $Revision: 1286 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractSpectrumPanelScriptlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]
getRequirements()
Returns the class(es) of an object that must be present for this action to be executed.SpectrumPanel
getSpectrumPanel()
Returns the spectrum panel, if available.-
Methods inherited from class adams.gui.scripting.AbstractUndoScriptlet
addUndoPoint, getUndo, isUndoSupported, setUndo
-
Methods inherited from class adams.gui.scripting.AbstractScriptlet
compareTo, doProcess, equals, forName, getAction, getBasePanel, getDataProvider, getDescription, getOptionsDescription, getOwner, getParameter, getParameterDescription, getScriptlets, hashCode, hasOwner, hasParameter, initialize, isStopped, process, setDataProvider, setOwner, setParameter, showStatus, stopExecution, toString
-
-
-
-
Method Detail
-
getRequirements
public Class[] getRequirements()
Returns the class(es) of an object that must be present for this action to be executed.- Overrides:
getRequirements
in classadams.gui.scripting.AbstractUndoScriptlet
- Returns:
- the class(es) of which an instance must be present for execution, null if none necessary
-
getSpectrumPanel
public SpectrumPanel getSpectrumPanel()
Returns the spectrum panel, if available.- Returns:
- the panel
-
-