Interface SaveUserDataProfileCallback
- All Superinterfaces:
AsyncCallback<SaveUserDataProfileCallback.Params,
,SaveUserDataProfileCallback.Action> BrowserAsyncCallback<SaveUserDataProfileCallback.Params,
,SaveUserDataProfileCallback.Action> BrowserCallback
,Callback
- All Known Implementing Classes:
DefaultSaveUserDataProfileCallback
,DefaultSaveUserDataProfileCallback
,DefaultSaveUserDataProfileCallback
public interface SaveUserDataProfileCallback
extends BrowserAsyncCallback<SaveUserDataProfileCallback.Params,SaveUserDataProfileCallback.Action>
A callback that is invoked when the user is prompted to save the user data profile to the
user data store.
The callback is invoked when the user submits a web form where fields are associated with a user data profile such as city, state, street, zip code, email address, etc.
This callback is equivalent to the "Save Address?" bubble in Chromium.
Use the SaveUserDataProfileCallback.Action.save() method to save this user data profile to the autofill store. All saved user data profiles are shown in the suggestion pop-up when focusing the web form control.
Use the SaveUserDataProfileCallback.Action.decline() method to decline to save the user data profile. If the current profile is declined then the callback will be invoked again when submitting the web form with the same user data.
The callback is not invoked if autofill is disabled.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
An action providing a response to theSaveUserDataProfileCallback
.static interface
The parameters of theSaveUserDataProfileCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.AsyncCallback
on