Constructor
new module:br/presenter/control/selectionfield/JQueryAutoCompleteControl()
Extends:
- Source:
- See:
-
- br.presenter.node.AutoCompleteSelectionField
Extends
Methods
-
destroy()
-
Called when the view is being disposed of to allow cleaning up of listeners and controls.
-
onPropertyChanged()
-
Callback method invoked when the value of a
module:br/presenter/property/Propertychanges.Implementation of this method is optional, and no action will be taken if the method is invoked but has not been overridden.
-
onPropertyUpdated()
-
Callback method invoked when the value of a
module:br/presenter/property/Propertyis updated, even when it hasn't changed.This event is there to accommodate cases where we want to know about calls to set the value of a property even if the new value being set is the same as the old one.
Implementation of this method is optional, and no action will be taken if the method is invoked but has not been overridden.
-
onValidationComplete()
-
Callback method invoked once validation is complete.
Implementation of this method is optional, and no action will be taken if the method is invoked but has not been overridden.
-
onValidationError(vPropertyValue, sErrorMessage)
-
Callback method invoked when an attempt to update an
module:br/presenter/property/EditablePropertyresults in a validation error.Implementation of this method is optional, and no action will be taken if the method is invoked but has not been overridden.
Parameters:
Name Type Description vPropertyValueObject The value that led to the validation error. sErrorMessageString The description of the validation error. -
onValidationSuccess()
-
Callback method invoked when an attempt to update an
module:br/presenter/property/EditablePropertydoes not result in a validation error.Implementation of this method is optional, and no action will be taken if the method is invoked but has not been overridden.
-
onViewReady()
-
Called after the view is rendered to screen.
Controls that need to perform some additional work once the element they are contained within has been added to the document (via
#getElement), can do so within this call-back.