dwebbrowserevents2.java

来自「java internet 浏览器:一个java编写的web浏览器」· Java 代码 · 共 97 行

JAVA
97
字号
//
// 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;

import com.ms.com.*;
import com.ms.com.IUnknown;
import com.ms.com.Variant;

// Dispatch-only interface DWebBrowserEvents2
/** @com.interface(iid=34A715A0-6587-11D0-924A-0020AFC7AC4D, thread=AUTO, type=DISPATCH) */
public interface DWebBrowserEvents2 extends IUnknown
{
  /** @com.method(dispid=102, type=METHOD, name="StatusTextChange", returntype=VOID)
      @com.parameters([in,type=STRING] Text) */
  public void StatusTextChange(String Text);

  /** @com.method(dispid=108, type=METHOD, name="ProgressChange", returntype=VOID)
      @com.parameters([in,type=I4] Progress, [in,type=I4] ProgressMax) */
  public void ProgressChange(int Progress, int ProgressMax);

  /** @com.method(dispid=105, type=METHOD, name="CommandStateChange", returntype=VOID)
      @com.parameters([in,type=I4] Command, [in,type=BOOLEAN] Enable) */
  public void CommandStateChange(int Command, boolean Enable);

  /** @com.method(dispid=106, type=METHOD, name="DownloadBegin", returntype=VOID)
      @com.parameters() */
  public void DownloadBegin();

  /** @com.method(dispid=104, type=METHOD, name="DownloadComplete", returntype=VOID)
      @com.parameters() */
  public void DownloadComplete();

  /** @com.method(dispid=113, type=METHOD, name="TitleChange", returntype=VOID)
      @com.parameters([in,type=STRING] Text) */
  public void TitleChange(String Text);

  /** @com.method(dispid=112, type=METHOD, name="PropertyChange", returntype=VOID)
      @com.parameters([in,type=STRING] szProperty) */
  public void PropertyChange(String szProperty);

  /** @com.method(dispid=250, type=METHOD, name="BeforeNavigate2", returntype=VOID)
      @com.parameters([in,type=DISPATCH] pDisp, [in,elementType=VARIANT,type=PTR] URL, [in,elementType=VARIANT,type=PTR] Flags, [in,elementType=VARIANT,type=PTR] TargetFrameName, [in,elementType=VARIANT,type=PTR] PostData, [in,elementType=VARIANT,type=PTR] Headers, [in,out,elementType=BOOLEAN,type=ARRAY] Cancel) */
  public void BeforeNavigate2(Object pDisp, Variant URL, Variant Flags, Variant TargetFrameName, Variant PostData, Variant Headers, boolean[] Cancel);

  /** @com.method(dispid=251, type=METHOD, name="NewWindow2", returntype=VOID)
      @com.parameters([in,out,elementType=DISPATCH,type=ARRAY] ppDisp, [in,out,elementType=BOOLEAN,type=ARRAY] Cancel) */
  public void NewWindow2(Object[] ppDisp, boolean[] Cancel);

  /** @com.method(dispid=252, type=METHOD, name="NavigateComplete2", returntype=VOID)
      @com.parameters([in,type=DISPATCH] pDisp, [in,elementType=VARIANT,type=PTR] URL) */
  public void NavigateComplete2(Object pDisp, Variant URL);

  /** @com.method(dispid=259, type=METHOD, name="DocumentComplete", returntype=VOID)
      @com.parameters([in,type=DISPATCH] pDisp, [in,elementType=VARIANT,type=PTR] URL) */
  public void DocumentComplete(Object pDisp, Variant URL);

  /** @com.method(dispid=253, type=METHOD, name="OnQuit", returntype=VOID)
      @com.parameters() */
  public void OnQuit();

  /** @com.method(dispid=254, type=METHOD, name="OnVisible", returntype=VOID)
      @com.parameters([in,type=BOOLEAN] Visible) */
  public void OnVisible(boolean Visible);

  /** @com.method(dispid=255, type=METHOD, name="OnToolBar", returntype=VOID)
      @com.parameters([in,type=BOOLEAN] ToolBar) */
  public void OnToolBar(boolean ToolBar);

  /** @com.method(dispid=256, type=METHOD, name="OnMenuBar", returntype=VOID)
      @com.parameters([in,type=BOOLEAN] MenuBar) */
  public void OnMenuBar(boolean MenuBar);

  /** @com.method(dispid=257, type=METHOD, name="OnStatusBar", returntype=VOID)
      @com.parameters([in,type=BOOLEAN] StatusBar) */
  public void OnStatusBar(boolean StatusBar);

  /** @com.method(dispid=258, type=METHOD, name="OnFullScreen", returntype=VOID)
      @com.parameters([in,type=BOOLEAN] FullScreen) */
  public void OnFullScreen(boolean FullScreen);

  /** @com.method(dispid=260, type=METHOD, name="OnTheaterMode", returntype=VOID)
      @com.parameters([in,type=BOOLEAN] TheaterMode) */
  public void OnTheaterMode(boolean TheaterMode);


  public static final com.ms.com._Guid iid = new com.ms.com._Guid((int)0x34a715a0, (short)0x6587, (short)0x11d0, (byte)0x92, (byte)0x4a, (byte)0x0, (byte)0x20, (byte)0xaf, (byte)0xc7, (byte)0xac, (byte)0x4d);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?