webbrowser.java
来自「java internet 浏览器:一个java编写的web浏览器」· Java 代码 · 共 989 行 · 第 1/4 页
JAVA
989 行
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.WebBrowser.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.ui.AxHost.AxPropertyInfo ctlVisiblePropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "ctlVisible", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Determines whether the application is visible or hidden." ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000192 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo StatusBarPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "statusBar", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Turn on or off the statusbar." ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000193 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo StatusTextPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "statusText", String.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Text of Status window." ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000194 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo ToolBarPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "toolBar", int.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls which toolbar is shown." ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000195 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo MenuBarPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "menuBar", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls whether menubar is shown." ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000196 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo FullScreenPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "fullScreen", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Maximizes window and turns off statusbar, toolbar, menubar, and titlebar." ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000197 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo OfflinePropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "offline", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls if the frame is offline (read from cache)" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000226 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo SilentPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "silent", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls if any dialog boxes can be shown" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000227 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo RegisterAsBrowserPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "registerAsBrowser", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Registers OC as a top-level browser (for target name resolution)" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000228 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo RegisterAsDropTargetPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "registerAsDropTarget", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Registers OC as a drop target for navigation" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x00000229 ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo TheaterModePropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "theaterMode", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls if the browser is in theater mode" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x0000022A ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo AddressBarPropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "addressBar", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls whether address bar is shown" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x0000022B ) } );
public static final com.ms.wfc.ui.AxHost.AxPropertyInfo ResizablePropertyInfo = new com.ms.wfc.ui.AxHost.AxPropertyInfo(
shdocvw.WebBrowser.WebBrowser.class, "resizable", boolean.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Controls whether the window is resizable" ),
com.ms.wfc.core.PersistableAttribute.NO,
new com.ms.wfc.ui.AxHost.DispidAttribute( 0x0000022C ) } );
public static final com.ms.wfc.core.EventInfo StatusTextChangeEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "statusTextChange", shdocvw.WebBrowser.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.WebBrowser.class, "progressChange", shdocvw.WebBrowser.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 CommandStateChangeEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "commandStateChange", shdocvw.WebBrowser.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.WebBrowser.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 DownloadCompleteEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.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 TitleChangeEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "titleChange", shdocvw.WebBrowser.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 PropertyChangeEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "propertyChange", shdocvw.WebBrowser.PropertyChangeHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when the PutProperty method has been called." ) } );
public static final com.ms.wfc.core.EventInfo BeforeNavigate2EventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "beforeNavigate2", shdocvw.WebBrowser.BeforeNavigate2Handler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired before navigate occurs in the given WebBrowser (window or frameset element). The processing of this navigation may be modified." ) } );
public static final com.ms.wfc.core.EventInfo NewWindow2EventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "newWindow2", shdocvw.WebBrowser.NewWindow2Handler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "A new, hidden, non-navigated WebBrowser window is needed." ) } );
public static final com.ms.wfc.core.EventInfo NavigateComplete2EventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "navigateComplete2", shdocvw.WebBrowser.NavigateComplete2Handler.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 DocumentCompleteEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "documentComplete", shdocvw.WebBrowser.DocumentCompleteHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when the document being navigated to reaches ReadyState_Complete." ) } );
public static final com.ms.wfc.core.EventInfo OnQuitEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onQuit", com.ms.wfc.core.EventHandler.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 OnVisibleEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onVisible", shdocvw.WebBrowser.OnVisibleHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when the window should be shown/hidden" ) } );
public static final com.ms.wfc.core.EventInfo OnToolBarEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onToolBar", shdocvw.WebBrowser.OnToolBarHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when the toolbar should be shown/hidden" ) } );
public static final com.ms.wfc.core.EventInfo OnMenuBarEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onMenuBar", shdocvw.WebBrowser.OnMenuBarHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when the menubar should be shown/hidden" ) } );
public static final com.ms.wfc.core.EventInfo OnStatusBarEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onStatusBar", shdocvw.WebBrowser.OnStatusBarHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when the statusbar should be shown/hidden" ) } );
public static final com.ms.wfc.core.EventInfo OnFullScreenEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onFullScreen", shdocvw.WebBrowser.OnFullScreenHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when fullscreen mode should be on/off" ) } );
public static final com.ms.wfc.core.EventInfo OnTheaterModeEventInfo = new com.ms.wfc.core.EventInfo(
shdocvw.WebBrowser.WebBrowser.class, "onTheaterMode", shdocvw.WebBrowser.OnTheaterModeHandler.class,
new com.ms.wfc.core.MemberAttribute[] {
new com.ms.wfc.core.DescriptionAttribute( "Fired when theater mode should be on/off" ) } );
public void getAttributes( com.ms.wfc.core.IAttributes attrs )
{
com.ms.wfc.ui.AxHost.getClientAttributes( this, shdocvw.WebBrowser.WebBrowser.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 );
props.add( ctlVisiblePropertyInfo );
props.add( StatusBarPropertyInfo );
props.add( StatusTextPropertyInfo );
props.add( ToolBarPropertyInfo );
props.add( MenuBarPropertyInfo );
props.add( FullScreenPropertyInfo );
props.add( OfflinePropertyInfo );
props.add( SilentPropertyInfo );
props.add( RegisterAsBrowserPropertyInfo );
props.add( RegisterAsDropTargetPropertyInfo );
props.add( TheaterModePropertyInfo );
props.add( AddressBarPropertyInfo );
props.add( ResizablePropertyInfo );
}
public void getEvents( com.ms.wfc.core.IEvents events )
{
super.getEvents( events );
events.add( StatusTextChangeEventInfo );
events.add( ProgressChangeEventInfo );
events.add( CommandStateChangeEventInfo );
events.add( DownloadBeginEventInfo );
events.add( DownloadCompleteEventInfo );
events.add( TitleChangeEventInfo );
events.add( PropertyChangeEventInfo );
events.add( BeforeNavigate2EventInfo );
events.add( NewWindow2EventInfo );
events.add( NavigateComplete2EventInfo );
events.add( DocumentCompleteEventInfo );
events.add( OnQuitEventInfo );
events.add( OnVisibleEventInfo );
events.add( OnToolBarEventInfo );
events.add( OnMenuBarEventInfo );
events.add( OnStatusBarEventInfo );
events.add( OnFullScreenEventInfo );
events.add( OnTheaterModeEventInfo );
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?