⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 webbrowser_v1.java

📁 java internet 浏览器:一个java编写的web浏览器
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
     onTitleChange = (shdocvw.WebBrowser_V1.TitleChangeHandler)com.ms.lang.Delegate.combine( onTitleChange, handler );
  }

  public synchronized void removeOnTitleChange( shdocvw.WebBrowser_V1.TitleChangeHandler handler ) {
     onTitleChange = (shdocvw.WebBrowser_V1.TitleChangeHandler)com.ms.lang.Delegate.remove( onTitleChange, handler );
  }

  public synchronized void addOnFrameBeforeNavigate( shdocvw.WebBrowser_V1.FrameBeforeNavigateHandler handler ) {
     onFrameBeforeNavigate = (shdocvw.WebBrowser_V1.FrameBeforeNavigateHandler)com.ms.lang.Delegate.combine( onFrameBeforeNavigate, handler );
  }

  public synchronized void removeOnFrameBeforeNavigate( shdocvw.WebBrowser_V1.FrameBeforeNavigateHandler handler ) {
     onFrameBeforeNavigate = (shdocvw.WebBrowser_V1.FrameBeforeNavigateHandler)com.ms.lang.Delegate.remove( onFrameBeforeNavigate, handler );
  }

  public synchronized void addOnFrameNavigateComplete( shdocvw.WebBrowser_V1.FrameNavigateCompleteHandler handler ) {
     onFrameNavigateComplete = (shdocvw.WebBrowser_V1.FrameNavigateCompleteHandler)com.ms.lang.Delegate.combine( onFrameNavigateComplete, handler );
  }

  public synchronized void removeOnFrameNavigateComplete( shdocvw.WebBrowser_V1.FrameNavigateCompleteHandler handler ) {
     onFrameNavigateComplete = (shdocvw.WebBrowser_V1.FrameNavigateCompleteHandler)com.ms.lang.Delegate.remove( onFrameNavigateComplete, handler );
  }

  public synchronized void addOnFrameNewWindow( shdocvw.WebBrowser_V1.FrameNewWindowHandler handler ) {
     onFrameNewWindow = (shdocvw.WebBrowser_V1.FrameNewWindowHandler)com.ms.lang.Delegate.combine( onFrameNewWindow, handler );
  }

  public synchronized void removeOnFrameNewWindow( shdocvw.WebBrowser_V1.FrameNewWindowHandler handler ) {
     onFrameNewWindow = (shdocvw.WebBrowser_V1.FrameNewWindowHandler)com.ms.lang.Delegate.remove( onFrameNewWindow, handler );
  }

  public synchronized void addOnQuit( shdocvw.WebBrowser_V1.QuitHandler handler ) {
     onQuit = (shdocvw.WebBrowser_V1.QuitHandler)com.ms.lang.Delegate.combine( onQuit, handler );
  }

  public synchronized void removeOnQuit( shdocvw.WebBrowser_V1.QuitHandler handler ) {
     onQuit = (shdocvw.WebBrowser_V1.QuitHandler)com.ms.lang.Delegate.remove( onQuit, handler );
  }

  public synchronized void addOnWindowMove( com.ms.wfc.core.EventHandler handler ) {
     onWindowMove = (com.ms.wfc.core.EventHandler)com.ms.lang.Delegate.combine( onWindowMove, handler );
  }

  public synchronized void removeOnWindowMove( com.ms.wfc.core.EventHandler handler ) {
     onWindowMove = (com.ms.wfc.core.EventHandler)com.ms.lang.Delegate.remove( onWindowMove, handler );
  }

  public synchronized void addOnWindowResize( com.ms.wfc.core.EventHandler handler ) {
     onWindowResize = (com.ms.wfc.core.EventHandler)com.ms.lang.Delegate.combine( onWindowResize, handler );
  }

  public synchronized void removeOnWindowResize( com.ms.wfc.core.EventHandler handler ) {
     onWindowResize = (com.ms.wfc.core.EventHandler)com.ms.lang.Delegate.remove( onWindowResize, handler );
  }

  public synchronized void addOnWindowActivate( com.ms.wfc.core.EventHandler handler ) {
     onWindowActivate = (com.ms.wfc.core.EventHandler)com.ms.lang.Delegate.combine( onWindowActivate, handler );
  }

  public synchronized void removeOnWindowActivate( com.ms.wfc.core.EventHandler handler ) {
     onWindowActivate = (com.ms.wfc.core.EventHandler)com.ms.lang.Delegate.remove( onWindowActivate, handler );
  }

  public synchronized void addOnPropertyChange( shdocvw.WebBrowser_V1.PropertyChangeHandler handler ) {
     onPropertyChange = (shdocvw.WebBrowser_V1.PropertyChangeHandler)com.ms.lang.Delegate.combine( onPropertyChange, handler );
  }

  public synchronized void removeOnPropertyChange( shdocvw.WebBrowser_V1.PropertyChangeHandler handler ) {
     onPropertyChange = (shdocvw.WebBrowser_V1.PropertyChangeHandler)com.ms.lang.Delegate.remove( onPropertyChange, handler );
  }

  //---------------------------------------------------------------------------
  // This class provides information about the control's events and properties.
  //---------------------------------------------------------------------------

  public static class ClassInfo extends com.ms.wfc.ui.AxHost.ClassInfo
  {
     public static final com.ms.wfc.ui.AxHost.AxPropertyInfo ctlLeftPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "ctlLeft", int.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "The horizontal position (pixels) of the frame window relative to the screen/container." ),
           com.ms.wfc.core.PersistableAttribute.NO,
           new com.ms.wfc.ui.AxHost.DispidAttribute( 0x000000CE ) } );

     public static final com.ms.wfc.ui.AxHost.AxPropertyInfo ctlTopPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "ctlTop", int.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "The vertical position (pixels) of the frame window relative to the screen/container." ),
           com.ms.wfc.core.PersistableAttribute.NO,
           new com.ms.wfc.ui.AxHost.DispidAttribute( 0x000000CF ) } );

     public static final com.ms.wfc.ui.AxHost.AxPropertyInfo ctlWidthPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "ctlWidth", int.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "The horizontal dimension (pixels) of the frame window/object." ),
           com.ms.wfc.core.PersistableAttribute.NO,
           new com.ms.wfc.ui.AxHost.DispidAttribute( 0x000000D0 ) } );

     public static final com.ms.wfc.ui.AxHost.AxPropertyInfo ctlHeightPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "ctlHeight", int.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "The vertical dimension (pixels) of the frame window/object." ),
           com.ms.wfc.core.PersistableAttribute.NO,
           new com.ms.wfc.ui.AxHost.DispidAttribute( 0x000000D1 ) } );

     public static final com.ms.wfc.core.EventInfo BeforeNavigateEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "beforeNavigate", shdocvw.WebBrowser_V1.BeforeNavigateHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when a new hyperlink is being navigated to." ) } );

     public static final com.ms.wfc.core.EventInfo NavigateCompleteEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "navigateComplete", shdocvw.WebBrowser_V1.NavigateCompleteHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when the document being navigated to becomes visible and enters the navigation stack." ) } );

     public static final com.ms.wfc.core.EventInfo StatusTextChangeEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "statusTextChange", shdocvw.WebBrowser_V1.StatusTextChangeHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Statusbar text changed." ) } );

     public static final com.ms.wfc.core.EventInfo ProgressChangeEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "progressChange", shdocvw.WebBrowser_V1.ProgressChangeHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when download progress is updated." ) } );

     public static final com.ms.wfc.core.EventInfo DownloadCompleteEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "downloadComplete", com.ms.wfc.core.EventHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Download of page complete." ) } );

     public static final com.ms.wfc.core.EventInfo CommandStateChangeEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "commandStateChange", shdocvw.WebBrowser_V1.CommandStateChangeHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "The enabled state of a command changed" ) } );

     public static final com.ms.wfc.core.EventInfo DownloadBeginEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "downloadBegin", com.ms.wfc.core.EventHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Download of a page started." ) } );

     public static final com.ms.wfc.core.EventInfo NewWindowEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "newWindow", shdocvw.WebBrowser_V1.NewWindowHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when a new window should be created." ) } );

     public static final com.ms.wfc.core.EventInfo TitleChangeEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "titleChange", shdocvw.WebBrowser_V1.TitleChangeHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Document title changed." ) } );

     public static final com.ms.wfc.core.EventInfo FrameBeforeNavigateEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "frameBeforeNavigate", shdocvw.WebBrowser_V1.FrameBeforeNavigateHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when a new hyperlink is being navigated to in a frame." ) } );

     public static final com.ms.wfc.core.EventInfo FrameNavigateCompleteEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "frameNavigateComplete", shdocvw.WebBrowser_V1.FrameNavigateCompleteHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when a new hyperlink is being navigated to in a frame." ) } );

     public static final com.ms.wfc.core.EventInfo FrameNewWindowEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "frameNewWindow", shdocvw.WebBrowser_V1.FrameNewWindowHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when a new window should be created." ) } );

     public static final com.ms.wfc.core.EventInfo QuitEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "quit", shdocvw.WebBrowser_V1.QuitHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when application is quiting." ) } );

     public static final com.ms.wfc.core.EventInfo WindowMoveEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "windowMove", com.ms.wfc.core.EventHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when window has been moved." ) } );

     public static final com.ms.wfc.core.EventInfo WindowResizeEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "windowResize", com.ms.wfc.core.EventHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when window has been sized." ) } );

     public static final com.ms.wfc.core.EventInfo WindowActivateEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "windowActivate", com.ms.wfc.core.EventHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when window has been activated." ) } );

     public static final com.ms.wfc.core.EventInfo PropertyChangeEventInfo = new com.ms.wfc.core.EventInfo(
        shdocvw.WebBrowser_V1.WebBrowser_V1.class, "propertyChange", shdocvw.WebBrowser_V1.PropertyChangeHandler.class,
        new com.ms.wfc.core.MemberAttribute[] { 
           new com.ms.wfc.core.DescriptionAttribute( "Fired when the PutProperty method has been called." ) } );

     public void getAttributes( com.ms.wfc.core.IAttributes attrs )
     {
        com.ms.wfc.ui.AxHost.getClientAttributes( this, shdocvw.WebBrowser_V1.WebBrowser_V1.class, attrs );
     }

     public void getProperties( com.ms.wfc.core.IProperties props )
     {
        super.getProperties( props );
        props.add( ctlLeftPropertyInfo );
        props.add( ctlTopPropertyInfo );
        props.add( ctlWidthPropertyInfo );
        props.add( ctlHeightPropertyInfo );
     }

     public void getEvents( com.ms.wfc.core.IEvents events )
     {
        super.getEvents( events );
        events.add( BeforeNavigateEventInfo );
        events.add( NavigateCompleteEventInfo );
        events.add( StatusTextChangeEventInfo );
        events.add( ProgressChangeEventInfo );
        events.add( DownloadCompleteEventInfo );
        events.add( CommandStateChangeEventInfo );
        events.add( DownloadBeginEventInfo );
        events.add( NewWindowEventInfo );
        events.add( TitleChangeEventInfo );
        events.add( FrameBeforeNavigateEventInfo );
        events.add( FrameNavigateCompleteEventInfo );
        events.add( FrameNewWindowEventInfo );
        events.add( QuitEventInfo );
        events.add( WindowMoveEventInfo );
        events.add( WindowResizeEventInfo );
        events.add( WindowActivateEventInfo );
        events.add( PropertyChangeEventInfo );
     }
  }
}

⌨️ 快捷键说明

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