xrendererlistener.java

来自「java写的浏览器」· Java 代码 · 共 62 行

JAVA
62
字号
/****************************************************************
*              XBrowser  -  eXtended web Browser                *
*                                                               *
*           Copyright (c) 2000-2001  Armond Avanes              *
*     Refer to ReadMe & License files for more information      *
*                                                               *
*                                                               *
*                      By: Armond Avanes                        *
*       Armond555@yahoo.com     &    Armond333@yahoo.com        *
*                http://xbrowser.sourceforge.net/               *
*****************************************************************/
package xbrowser.renderer.event;

import java.applet.*;
import java.awt.print.*;

/** Interface to allow hooks for particular HTML window.
 *  Used mainly by {@link xbrowser.renderer.XRenderer} that calls
 *  {@link xbrowser.doc.view.XDocumentView} et al.
 */
public interface XRendererListener
{
	public void hyperlinkEntered(String hyper_link);
	public void hyperlinkExited(String hyper_link);

	public void pageLoadingProgress(long read_size, long entire_size);
	public void pageLoadingFinished(Exception e);
	public void pageLoadingStarted();
	public void pageLoadingStopped();

	public void pageAddedToHistory(String url);

	public void pagePrintingStarted();
	public void pagePrintingFinished(PrinterException e);
	public void renderingPage(int page_index);
	public void renderingFinished();

	public void showAppletStatus(String status);
	public void showAppletLifeCycle(Applet applet, int status);

	public void showStatus(String status);

// Attributes:
	public final static int STARTING_APPLET_INIT = 100;
	public final static int STARTING_APPLET_START = 101;
	public final static int STARTING_APPLET_STOP = 102;
	public final static int STARTING_APPLET_DESTROY = 103;
	public final static int STARTING_APPLET_LOAD = 104;

	public final static int APPLET_INIT_SUCCESS = 105;
	public final static int APPLET_START_SUCCESS = 106;
	public final static int APPLET_STOP_SUCCESS = 107;
	public final static int APPLET_DESTROY_SUCCESS = 108;
	public final static int APPLET_LOAD_SUCCESS = 109;

	public final static int APPLET_INIT_FAILED = 110;
	public final static int APPLET_START_FAILED = 111;
	public final static int APPLET_STOP_FAILED = 112;
	public final static int APPLET_DESTROY_FAILED = 113;
	public final static int APPLET_LOAD_FAILED = 114;
}

⌨️ 快捷键说明

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