📄 webbrowser_v1eventmulticaster.java
字号:
//
// Auto-generated using JActiveX.EXE 5.00.2918
// ("D:\MICROSOFT VISUAL STUDIO\VJ98\jactivex.exe" /wfc /t "D:\MICROSOFT VISUAL STUDIO\VJ98\wfc.jnf" /w /xi /X:rkc /l "C:\WIN95\TEMP\jvc10E5.TMP" /nologo /d "e:\vj6\explore" "C:\WIN95\SYSTEM\SHDOCVW.DLL")
//
// WARNING: Do not remove the comments that include "@com" directives.
// This source file must be compiled by a @com-aware compiler.
// If you are using the Microsoft Visual J++ compiler, you must use
// version 1.02.3920 or later. Previous versions will not issue an error
// but will not generate COM-enabled class files.
//
package shdocvw.WebBrowser_V1;
import com.ms.com.*;
import com.ms.com.IUnknown;
import com.ms.com.Variant;
// Dispatch-only interface WebBrowser_V1EventMulticaster
class WebBrowser_V1EventMulticaster implements shdocvw.DWebBrowserEvents, com.ms.com.NoAutoScripting, com.ms.com.NoAutoMarshaling
{
shdocvw.WebBrowser_V1.WebBrowser_V1 _jcom_parent;
WebBrowser_V1EventMulticaster( shdocvw.WebBrowser_V1.WebBrowser_V1 _jcom_parent )
{
this._jcom_parent = _jcom_parent;
}
public void BeforeNavigate(String URL, int Flags, String TargetFrameName, Variant PostData, String Headers, boolean[] Cancel)
{
if( _jcom_parent.onBeforeNavigate != null) {
_jcom_parent.onBeforeNavigate.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.BeforeNavigateEvent( URL, Flags, TargetFrameName, PostData, Headers, Cancel ) );
}
}
public void NavigateComplete(String URL)
{
if( _jcom_parent.onNavigateComplete != null) {
_jcom_parent.onNavigateComplete.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.NavigateCompleteEvent( URL ) );
}
}
public void StatusTextChange(String Text)
{
if( _jcom_parent.onStatusTextChange != null) {
_jcom_parent.onStatusTextChange.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.StatusTextChangeEvent( Text ) );
}
}
public void ProgressChange(int Progress, int ProgressMax)
{
if( _jcom_parent.onProgressChange != null) {
_jcom_parent.onProgressChange.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.ProgressChangeEvent( Progress, ProgressMax ) );
}
}
public void DownloadComplete()
{
if( _jcom_parent.onDownloadComplete != null) {
_jcom_parent.onDownloadComplete.invoke( _jcom_parent, com.ms.wfc.core.Event.EMPTY );
}
}
public void CommandStateChange(int Command, boolean Enable)
{
if( _jcom_parent.onCommandStateChange != null) {
_jcom_parent.onCommandStateChange.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.CommandStateChangeEvent( Command, Enable ) );
}
}
public void DownloadBegin()
{
if( _jcom_parent.onDownloadBegin != null) {
_jcom_parent.onDownloadBegin.invoke( _jcom_parent, com.ms.wfc.core.Event.EMPTY );
}
}
public void NewWindow(String URL, int Flags, String TargetFrameName, Variant PostData, String Headers, boolean[] Processed)
{
if( _jcom_parent.onNewWindow != null) {
_jcom_parent.onNewWindow.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.NewWindowEvent( URL, Flags, TargetFrameName, PostData, Headers, Processed ) );
}
}
public void TitleChange(String Text)
{
if( _jcom_parent.onTitleChange != null) {
_jcom_parent.onTitleChange.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.TitleChangeEvent( Text ) );
}
}
public void FrameBeforeNavigate(String URL, int Flags, String TargetFrameName, Variant PostData, String Headers, boolean[] Cancel)
{
if( _jcom_parent.onFrameBeforeNavigate != null) {
_jcom_parent.onFrameBeforeNavigate.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.FrameBeforeNavigateEvent( URL, Flags, TargetFrameName, PostData, Headers, Cancel ) );
}
}
public void FrameNavigateComplete(String URL)
{
if( _jcom_parent.onFrameNavigateComplete != null) {
_jcom_parent.onFrameNavigateComplete.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.FrameNavigateCompleteEvent( URL ) );
}
}
public void FrameNewWindow(String URL, int Flags, String TargetFrameName, Variant PostData, String Headers, boolean[] Processed)
{
if( _jcom_parent.onFrameNewWindow != null) {
_jcom_parent.onFrameNewWindow.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.FrameNewWindowEvent( URL, Flags, TargetFrameName, PostData, Headers, Processed ) );
}
}
public void Quit(boolean[] Cancel)
{
if( _jcom_parent.onQuit != null) {
_jcom_parent.onQuit.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.QuitEvent( Cancel ) );
}
}
public void WindowMove()
{
if( _jcom_parent.onWindowMove != null) {
_jcom_parent.onWindowMove.invoke( _jcom_parent, com.ms.wfc.core.Event.EMPTY );
}
}
public void WindowResize()
{
if( _jcom_parent.onWindowResize != null) {
_jcom_parent.onWindowResize.invoke( _jcom_parent, com.ms.wfc.core.Event.EMPTY );
}
}
public void WindowActivate()
{
if( _jcom_parent.onWindowActivate != null) {
_jcom_parent.onWindowActivate.invoke( _jcom_parent, com.ms.wfc.core.Event.EMPTY );
}
}
public void PropertyChange(String Property)
{
if( _jcom_parent.onPropertyChange != null) {
_jcom_parent.onPropertyChange.invoke( _jcom_parent, new shdocvw.WebBrowser_V1.PropertyChangeEvent( Property ) );
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -