Class: SearchBase

Cadcorp.UI.SearchBase

new SearchBase(config)

Base class for searches used for creating subclasses and not instantiated.
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

events

Properties:
Name Type Description
events Cadcorp.Util.Events The events object

extraResultsToFetch

Properties:
Name Type Description
extraResultsToFetch number The amount results to fetch each time the more data button is clicked

icon

Properties:
Name Type Description
icon Cadcorp.Icon The icon to display when a result of this search is selected

initialAmountOfResultsToFetch

Properties:
Name Type Description
initialAmountOfResultsToFetch number The amount of results to fetch the first time a search is performed

name

Properties:
Name Type Description
name string The name of this search

nothingFoundText

Properties:
Name Type Description
nothingFoundText string The text to display if no results are found

serviceUrl

Properties:
Name Type Description
serviceUrl string The url to the webservice