📄 xdocument.java
字号:
/****************************************************************
* 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.doc;
import java.io.*;
import java.util.*;
import java.awt.*;
import java.awt.print.*;
import xbrowser.widgets.*;
import xbrowser.renderer.*;
import xbrowser.doc.event.*;
/** Representation of HTML document taken on URL having title. */
public interface XDocument
{
/** Add hook for lifecycle events. */
public void addDocumentListener(XDocumentListener listener);
/** Remove hook for lifecycle events. */
public void removeDocumentListener(XDocumentListener listener);
/** Returns [Swing] Component with this document displayed in it. */
public Component getComponent();
/** Returns the Renderer which shows this document. */
public XRenderer getRenderer();
/** Go to url specified */
public void showURL(String url);
/** Releases resources before closing current document. */
public void closingDocument();
/** Prepares and displays HTML source for this document. */
public void showPageSource();
/** Prepares and displays print preview. */
public void showPrintPreview();
/** Returns document's title. */
public String getPageTitle();
/** Returns document's url. */
public String getPageCompletePath();
/** Prepare and enqueue print job for this document, call Print Dialog. */
public void printDocument();
/** Prepare and enqueue print job for this document, dont Show Print Dialog. */
public void printDocumentImmediately();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -