public class Parameters extends StringParameters implements IEditorDescriptionProvider
bufferpath| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramDesc) |
int |
getFuzzyThreshold() |
int |
getMaxHits() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
void |
reset()
Reset this parameters object to its default values.
|
void |
setFuzzyThreshold(int fuzzyThreshold) |
void |
setMaxHits(int maxHits) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic void setFuzzyThreshold(int fuzzyThreshold)
public int getFuzzyThreshold()
public ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramDesc)
createEditorDescription in interface IEditorDescriptionProviderpublic int getMaxHits()
public void setMaxHits(int maxHits)
Copyright © 2021. All rights reserved.