public abstract class CefLoadHandlerAdapter extends java.lang.Object implements CefLoadHandler
CefLoadHandler.ErrorCode| Constructor and Description |
|---|
CefLoadHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onLoadEnd(CefBrowser browser,
CefFrame frame,
int httpStatusCode)
Called when the browser is done loading a frame.
|
void |
onLoadError(CefBrowser browser,
CefFrame frame,
CefLoadHandler.ErrorCode errorCode,
java.lang.String errorText,
java.lang.String failedUrl)
Called when the resource load for a navigation fails or is canceled.
|
void |
onLoadingStateChange(CefBrowser browser,
boolean isLoading,
boolean canGoBack,
boolean canGoForward)
Called when the loading state has changed.
|
void |
onLoadStart(CefBrowser browser,
CefFrame frame,
CefRequest.TransitionType transitionType)
Called when the browser begins loading a frame.
|
public void onLoadEnd(CefBrowser browser, CefFrame frame, int httpStatusCode)
CefLoadHandleronLoadEnd in interface CefLoadHandlerbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.httpStatusCode - The status code of the load.public void onLoadError(CefBrowser browser, CefFrame frame, CefLoadHandler.ErrorCode errorCode, java.lang.String errorText, java.lang.String failedUrl)
CefLoadHandleronLoadError in interface CefLoadHandlerbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.errorCode - The error code number.errorText - The error text.failedUrl - The URL that failed to load.public void onLoadingStateChange(CefBrowser browser, boolean isLoading, boolean canGoBack, boolean canGoForward)
CefLoadHandleronLoadingStateChange in interface CefLoadHandlerbrowser - The corresponding browser.isLoading - true if it is loading.canGoBack - true if you can navigate back.canGoForward - true if you can navigate forward.public void onLoadStart(CefBrowser browser, CefFrame frame, CefRequest.TransitionType transitionType)
CefLoadHandleronLoadStart in interface CefLoadHandlerbrowser - The corresponding browser.frame - The frame generating the event. Instance only valid within the scope of this
method.transitionType - The transition type.