Class SearchParam

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class SearchParam
    extends AbstractParam
    Manages the search configurations saved in the configuration file.

    It allows to change, programmatically, the following search options:

    • Maximum search results in GUI - allows to set the maximum number of results that should be shown in GUI results panel.
    See Also:
    getMaximumSearchResultsGUI()
    • Constructor Detail

      • SearchParam

        public SearchParam()
    • Method Detail

      • parse

        protected void parse()
        Parses the search options.

        The following search options are parsed:

        • Maximum search results in GUI - allows to set the maximum number of results that should be shown in GUI results panel.
        Specified by:
        parse in class AbstractParam
        See Also:
        getMaximumSearchResultsGUI()
      • setMaximumSearchResultsGUI

        public void setMaximumSearchResultsGUI​(int maximumSearchResultsGUI)
        Sets whether the number of maximum results that should be shown in the results panel.
        Parameters:
        maximumSearchResultsGUI - the number of maximum results that should be shown in the results panel
        See Also:
        getMaximumSearchResultsGUI()
      • getMaximumSearchResultsGUI

        public int getMaximumSearchResultsGUI()
        Returns the number of maximum results that should be shown in the results panel.
        Returns:
        the number of maximum results that should be shown in the results panel
        See Also:
        setMaximumSearchResultsGUI(int)