Class AbstractCurrentTrailFilterWithGOE
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.plugin.AbstractToolPlugin<TrailPanel>
-
- adams.gui.visualization.trail.plugins.AbstractTrailViewerPlugin
-
- adams.gui.visualization.trail.plugins.AbstractCurrentTrailFilter
-
- adams.gui.visualization.trail.plugins.AbstractCurrentTrailFilterWithGOE
-
- All Implemented Interfaces:
adams.core.logging.LoggingSupporter
,adams.core.SizeOfHandler
,Serializable
public abstract class AbstractCurrentTrailFilterWithGOE extends AbstractCurrentTrailFilter
Ancestor for trail filters that process the current trail with a setup obtained from aGenericObjectEditorDialog
.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.visualization.trail.plugins.AbstractCurrentTrailFilter
m_FilterError
-
-
Constructor Summary
Constructors Constructor Description AbstractCurrentTrailFilterWithGOE()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Trail
doFilter(Trail trail)
Performs the actual filtering of the trail.protected Trail
filter(Trail trail)
Filters the trail.protected boolean
getCanChangeClassInDialog()
Returns whether the class can be changed in the GOE.protected abstract Object
getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.protected abstract Class
getEditorType()
Returns the class to use as type (= superclass) in the GOE.-
Methods inherited from class adams.gui.visualization.trail.plugins.AbstractCurrentTrailFilter
canExecute, doExecute
-
Methods inherited from class adams.gui.visualization.trail.plugins.AbstractTrailViewerPlugin
doLog
-
Methods inherited from class adams.gui.plugin.AbstractToolPlugin
createLogEntry, execute, getCanceledByUser, getCaption, getIcon, getIconName, getLastSetup, getMenu, hasLastSetup, log, setLastSetup
-
-
-
-
Method Detail
-
getEditorType
protected abstract Class getEditorType()
Returns the class to use as type (= superclass) in the GOE.- Returns:
- the class
-
getDefaultValue
protected abstract Object getDefaultValue()
Returns the default object to use in the GOE if no last setup is yet available.- Returns:
- the object
-
getCanChangeClassInDialog
protected boolean getCanChangeClassInDialog()
Returns whether the class can be changed in the GOE.- Returns:
- true if class can be changed by the user
-
doFilter
protected abstract Trail doFilter(Trail trail)
Performs the actual filtering of the trail.- Parameters:
trail
- the trail to filter- Returns:
- the processed trail
-
filter
protected Trail filter(Trail trail)
Filters the trail.- Specified by:
filter
in classAbstractCurrentTrailFilter
- Parameters:
trail
- the trail to filter- Returns:
- the processed trail
-
-