/** Web Browser Control events interface */ public class WebEventsAdapter extends iexplorer.DWebBrowserEvents2 { /** Override this method to process the "StatusTextChange" event. * Statusbar text changed. */ public void StatusTextChange(String Text) { } /** Override this method to process the "ProgressChange" event. * Fired when download progress is updated. */ public void ProgressChange(int Progress, int ProgressMax) { } /** Override this method to process the "CommandStateChange" event. * The enabled state of a command changed. */ public void CommandStateChange(int Command, boolean Enable) { } /** Override this method to process the "DownloadBegin" event. * Download of a page started. */ public void DownloadBegin() { } /** Override this method to process the "DownloadComplete" event. * Download of page complete. */ public void DownloadComplete() { } /** Override this method to process the "TitleChange" event. * Document title changed. */ public void TitleChange(String Text) { } /** Override this method to process the "PropertyChange" event. * Fired when the PutProperty method has been called. */ public void PropertyChange(String szProperty) { } /** Override this method to process the "BeforeNavigate2" event. * Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified. *
Parameter Cancel is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void BeforeNavigate2(ezjcom.JComObject pDisp, ezjcom.JComVariant URL, ezjcom.JComVariant Flags, ezjcom.JComVariant TargetFrameName, ezjcom.JComVariant PostData, ezjcom.JComVariant Headers, boolean[] Cancel) { } /** Override this method to process the "NewWindow2" event. * A new, hidden, non-navigated WebBrowser window is needed. *
Parameter Cancel is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void NewWindow2(ezjcom.JComObject ppDisp, boolean[] Cancel) { } /** Override this method to process the "NavigateComplete2" event. * Fired when the document being navigated to becomes visible and enters the navigation stack. */ public void NavigateComplete2(ezjcom.JComObject pDisp, ezjcom.JComVariant URL) { } /** Override this method to process the "DocumentComplete" event. * Fired when the document being navigated to reaches ReadyState_Complete. */ public void DocumentComplete(ezjcom.JComObject pDisp, ezjcom.JComVariant URL) { } /** Override this method to process the "OnQuit" event. * Fired when application is quiting. */ public void OnQuit() { } /** Override this method to process the "OnVisible" event. * Fired when the window should be shown/hidden */ public void OnVisible(boolean Visible) { } /** Override this method to process the "OnToolBar" event. * Fired when the toolbar should be shown/hidden */ public void OnToolBar(boolean ToolBar) { } /** Override this method to process the "OnMenuBar" event. * Fired when the menubar should be shown/hidden */ public void OnMenuBar(boolean MenuBar) { } /** Override this method to process the "OnStatusBar" event. * Fired when the statusbar should be shown/hidden */ public void OnStatusBar(boolean StatusBar) { } /** Override this method to process the "OnFullScreen" event. * Fired when fullscreen mode should be on/off */ public void OnFullScreen(boolean FullScreen) { } /** Override this method to process the "OnTheaterMode" event. * Fired when theater mode should be on/off */ public void OnTheaterMode(boolean TheaterMode) { } /** Override this method to process the "WindowSetResizable" event. * Fired when the host window should allow/disallow resizing */ public void WindowSetResizable(boolean Resizable) { } /** Override this method to process the "WindowSetLeft" event. * Fired when the host window should change its Left coordinate */ public void WindowSetLeft(int Left) { } /** Override this method to process the "WindowSetTop" event. * Fired when the host window should change its Top coordinate */ public void WindowSetTop(int Top) { } /** Override this method to process the "WindowSetWidth" event. * Fired when the host window should change its width */ public void WindowSetWidth(int Width) { } /** Override this method to process the "WindowSetHeight" event. * Fired when the host window should change its height */ public void WindowSetHeight(int Height) { } /** Override this method to process the "WindowClosing" event. * Fired when the WebBrowser is about to be closed by script *
Parameter Cancel is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void WindowClosing(boolean IsChildWindow, boolean[] Cancel) { } /** Override this method to process the "ClientToHostWindow" event. * Fired to request client sizes be converted to host window sizes *
Parameter CX is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. *
Parameter CY is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void ClientToHostWindow(int[] CX, int[] CY) { } /** Override this method to process the "SetSecureLockIcon" event. * Fired to indicate the security level of the current web page contents */ public void SetSecureLockIcon(int SecureLockIcon) { } /** Override this method to process the "FileDownload" event. * Fired to indicate the File Download dialog is opening *
Parameter Cancel is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void FileDownload(boolean[] Cancel) { } /** Override this method to process the "NavigateError" event. * Fired when a binding error occurs (window or frameset element). *
Parameter Cancel is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void NavigateError(ezjcom.JComObject pDisp, ezjcom.JComVariant URL, ezjcom.JComVariant Frame, ezjcom.JComVariant StatusCode, boolean[] Cancel) { } /** Override this method to process the "PrintTemplateInstantiation" event. * Fired when a print template is instantiated. */ public void PrintTemplateInstantiation(ezjcom.JComObject pDisp) { } /** Override this method to process the "PrintTemplateTeardown" event. * Fired when a print template destroyed. */ public void PrintTemplateTeardown(ezjcom.JComObject pDisp) { } /** Override this method to process the "UpdatePageStatus" event. * Fired when a page is spooled. When it is fired can be changed by a custom template. */ public void UpdatePageStatus(ezjcom.JComObject pDisp, ezjcom.JComVariant nPage, ezjcom.JComVariant fDone) { } /** Override this method to process the "PrivacyImpactedStateChange" event. * Fired when the global privacy impacted state changes */ public void PrivacyImpactedStateChange(boolean bImpacted) { } /** Override this method to process the "NewWindow3" event. * A new, hidden, non-navigated WebBrowser window is needed. *
Parameter Cancel is OUT or IN/OUT. It will be passed inside an array of size 1, so it can be modified. */ public void NewWindow3(ezjcom.JComObject ppDisp, boolean[] Cancel, int dwFlags, String bstrUrlContext, String bstrUrl) { } }