Package adams.data.objectfinder
Class AbstractMetaObjectFinder
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.objectfinder.AbstractObjectFinder
-
- adams.data.objectfinder.AbstractMetaObjectFinder
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LenientModeSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,QuickInfoSupporter,SizeOfHandler,ObjectFinder,ObjectPrefixHandler,Serializable
- Direct Known Subclasses:
Invert
public abstract class AbstractMetaObjectFinder extends AbstractObjectFinder
Ancestor for object finders that use a base finder.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectFinderm_ObjectFinderthe ObjectFinder to apply.-
Fields inherited from class adams.data.objectfinder.AbstractObjectFinder
m_Lenient, m_Prefix, m_Quiet, m_ResetIndicesIfNecessary
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractMetaObjectFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.protected ObjectFindergetDefaultObjectFinder()Returns the default finder to use.ObjectFindergetObjectFinder()Returns the object finder in use.StringgetQuickInfo()Returns a quick info about the object, which can be displayed in the GUI.StringobjectFinderTipText()Returns the tip text for this property.voidsetObjectFinder(ObjectFinder value)Sets the object finder to use.-
Methods inherited from class adams.data.objectfinder.AbstractObjectFinder
check, doFind, filter, find, find, findObjects, findObjects, getLenient, getPrefix, getQuiet, getResetIndicesIfNecessary, lenientTipText, prefixTipText, quietTipText, resetIndicesIfNecessaryTipText, setLenient, setPrefix, setQuiet, setResetIndicesIfNecessary
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
-
-
-
Field Detail
-
m_ObjectFinder
protected ObjectFinder m_ObjectFinder
the ObjectFinder to apply.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractObjectFinder
-
getDefaultObjectFinder
protected ObjectFinder getDefaultObjectFinder()
Returns the default finder to use.- Returns:
- the default
-
setObjectFinder
public void setObjectFinder(ObjectFinder value)
Sets the object finder to use.- Parameters:
value- the object finder
-
getObjectFinder
public ObjectFinder getObjectFinder()
Returns the object finder in use.- Returns:
- the object finder
-
objectFinderTipText
public String objectFinderTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.- Specified by:
getQuickInfoin interfaceQuickInfoSupporter- Overrides:
getQuickInfoin classAbstractObjectFinder- Returns:
- null if no info available, otherwise short string
-
-