Package adams.data.threewayfilter
Class Shift
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<ThreeWayData>
-
- adams.data.threewayfilter.Shift
-
- All Implemented Interfaces:
adams.core.CleanUpHandler,adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.ShallowCopySupporter<adams.data.filter.Filter>,adams.core.SizeOfHandler,adams.data.filter.Filter<ThreeWayData>,Serializable,Comparable
public class Shift extends adams.data.filter.AbstractFilter<ThreeWayData>
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Shift()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.intgetOffsetX()Returns the offset for X.intgetOffsetY()Returns the offset for Y.intgetOffsetZ()Returns the offset for Z.StringglobalInfo()Returns a string describing the object.StringoffsetXTipText()Returns the tip text for this property.StringoffsetYTipText()Returns the tip text for this property.StringoffsetZTipText()Returns the tip text for this property.protected ThreeWayDataprocessData(ThreeWayData data)Performs the actual filtering.voidsetOffsetX(int value)Sets the offset for X.voidsetOffsetY(int value)Sets the offset for Y.voidsetOffsetZ(int value)Sets the offset for Z.-
Methods inherited from class adams.data.filter.AbstractFilter
checkData, cleanUp, compareTo, destroy, dontUpdateIDTipText, equals, filter, forCommandLine, getDontUpdateID, reset, setDontUpdateID, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
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
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classadams.data.filter.AbstractFilter<ThreeWayData>
-
setOffsetX
public void setOffsetX(int value)
Sets the offset for X.- Parameters:
value- the offset
-
getOffsetX
public int getOffsetX()
Returns the offset for X.- Returns:
- the offset
-
offsetXTipText
public String offsetXTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setOffsetY
public void setOffsetY(int value)
Sets the offset for Y.- Parameters:
value- the offset
-
getOffsetY
public int getOffsetY()
Returns the offset for Y.- Returns:
- the offset
-
offsetYTipText
public String offsetYTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setOffsetZ
public void setOffsetZ(int value)
Sets the offset for Z.- Parameters:
value- the offset
-
getOffsetZ
public int getOffsetZ()
Returns the offset for Z.- Returns:
- the offset
-
offsetZTipText
public String offsetZTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
processData
protected ThreeWayData processData(ThreeWayData data)
Performs the actual filtering.- Specified by:
processDatain classadams.data.filter.AbstractFilter<ThreeWayData>- Parameters:
data- the data to filter- Returns:
- the filtered data
-
-