Package adams.gui.scripting
Class AbstractDataContainerUpdatingScriptlet
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.scripting.AbstractScriptlet
-
- adams.gui.scripting.AbstractUndoScriptlet
-
- adams.gui.scripting.AbstractDataContainerPanelScriptlet
-
- adams.gui.scripting.AbstractDataContainerUpdatingScriptlet
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Stoppable
,StoppableWithFeedback
,UndoHandler
,Serializable
,Comparable
- Direct Known Subclasses:
AbstractFilterScriptlet
,AbstractFlowScriptlet
public abstract class AbstractDataContainerUpdatingScriptlet extends AbstractDataContainerPanelScriptlet
Abstract ancestor for scriptlets that update spectra in a ChromatogramPanel.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractDataContainerUpdatingPostProcessor
m_PostProcessor
for post-processing the containers.-
Fields inherited from class adams.gui.scripting.AbstractScriptlet
m_DataProvider, m_Owner, m_Parameters, m_Stopped
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractDataContainerUpdatingScriptlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialize()
For initializing the member variables.protected void
updateDataContainers(List<? extends DataContainer> conts, boolean overlay, HashSet<Integer> exclude)
Updates the DataContainers in the GUI.protected void
updateDataContainers(List<? extends DataContainer> conts, boolean overlay, HashSet<Integer> exclude, List<Color> colors)
Updates the DataContainers in the GUI.protected void
updateDataContainers(List<DataContainer> conts, boolean overlay)
Updates the DataContainers in the GUI.protected void
updateDataContainers(List<DataContainer> conts, boolean overlay, List<Color> colors)
Updates the DataContainers in the GUI.-
Methods inherited from class adams.gui.scripting.AbstractDataContainerPanelScriptlet
getDataContainerPanel, getRequirements
-
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, isStopped, process, setDataProvider, setOwner, setParameter, showStatus, stopExecution, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_PostProcessor
protected AbstractDataContainerUpdatingPostProcessor m_PostProcessor
for post-processing the containers.
-
-
Method Detail
-
initialize
protected void initialize()
For initializing the member variables.- Overrides:
initialize
in classAbstractScriptlet
-
updateDataContainers
protected void updateDataContainers(List<DataContainer> conts, boolean overlay)
Updates the DataContainers in the GUI.- Parameters:
conts
- the processed DataContainersoverlay
- whether to overlay the DataContainers
-
updateDataContainers
protected void updateDataContainers(List<DataContainer> conts, boolean overlay, List<Color> colors)
Updates the DataContainers in the GUI.- Parameters:
conts
- the processed DataContainersoverlay
- whether to overlay the DataContainerscolors
- the colors to use, null if to ignore
-
updateDataContainers
protected void updateDataContainers(List<? extends DataContainer> conts, boolean overlay, HashSet<Integer> exclude)
Updates the DataContainers in the GUI.- Parameters:
conts
- the processed DataContainersoverlay
- whether to overlay the DataContainersexclude
- the indices to exclude
-
updateDataContainers
protected void updateDataContainers(List<? extends DataContainer> conts, boolean overlay, HashSet<Integer> exclude, List<Color> colors)
Updates the DataContainers in the GUI.- Parameters:
conts
- the processed DataContainersoverlay
- whether to overlay the DataContainersexclude
- the indices to excludecolors
- the colors to use, null if to ignore
-
-