Class AbstractTarget
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.gui.tools.spreadsheetprocessor.AbstractWidget
-
- adams.gui.tools.spreadsheetprocessor.targets.AbstractTarget
-
- All Implemented Interfaces:
LoggingLevelHandler
,LoggingSupporter
,SizeOfHandler
,Serializable
,Comparable<AbstractWidget>
- Direct Known Subclasses:
ChartTarget
,ClipboardTarget
,DatabaseTarget
,FileTarget
public abstract class AbstractTarget extends AbstractWidget
Ancestor for targets.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.tools.spreadsheetprocessor.AbstractWidget
m_Owner
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractTarget()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
check(SpreadSheet data, MessageCollection errors)
Hook method for performing checks.protected abstract void
doProcess(SpreadSheet data, MessageCollection errors)
Processes the data.void
process(SpreadSheet data, MessageCollection errors)
Processes the data.-
Methods inherited from class adams.gui.tools.spreadsheetprocessor.AbstractWidget
assign, compareTo, deserialize, equals, getName, getOwner, getWidget, notifyOwner, serialize, setOwner, toString, update
-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
check
protected void check(SpreadSheet data, MessageCollection errors)
Hook method for performing checks.- Parameters:
data
- the data to checkerrors
- for storing errors
-
doProcess
protected abstract void doProcess(SpreadSheet data, MessageCollection errors)
Processes the data.- Parameters:
data
- the input dataerrors
- for storing errors
-
process
public void process(SpreadSheet data, MessageCollection errors)
Processes the data.- Parameters:
data
- the input dataerrors
- for storing errors
-
-