   #
   # Subclasses may override this method to customize the message.
   #
-  # * itemCount: The number of items in the array specified to {.setArray}
-  # * filteredItemCount: The number of items that pass the fuzzy filter test.
+  # itemCount - The {Number} of items in the array specified to {.setArray}
+  # filteredItemCount - The {Number} of items that pass the fuzzy filter test.
   getEmptyMessage: (itemCount, filteredItemCount) -> 'No matches found'
 
   selectPreviousItem: ->


  # Public: Set the array of items to display in the list.
  #
  # * array: The array of model elements to display in the list.
  setArray: (@array=[]) ->
    @populateList()
    @setLoading()

  # Public: Set the error message to display.
  #
  # * message: The error message.
  setError: (message='') ->
    if message.length is 0
      @error.text('').hide()


  # Public: Set the loading message to display.
  #
  # message - The {String} loading message (default: '').
  setLoading: (message='') ->
    if message.length is 0
      @loading.text("")
