xdom.java

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

JAVA
33
字号
/*****************************************************************              XBrowser  -  eXtended web Browser                **                                                               **           Copyright (c) 2000-2001  Armond Avanes              **     Refer to ReadMe & License files for more information      **                                                               **                                                               **                 By: Uladzimir V. Kavalchuk                    **               Uladzimir_Kavalchuk@ep.minsk.by                 **               http://xbrowser.sourceforge.net/                ******************************************************************/package xbrowser.renderer.custom.js;import org.mozilla.javascript.ScriptableObject;/** Collects DOM objects and properties when parsing to use in other parts. */public interface XDOM {    /** Object must be added to <code>all</code> collection. */	final static int DOCUMENT = 0;    /** Object must be added to <code>images</code> collection. */	final static int IMAGES = 1;    /** Object must be added to <code>anchors</code> collection. */	final static int ANCHORS = 2;    /** Object must be added to <code>forms</code> collection. */	final static int FORMS = 3;    /** Object must be added to <code>links</code> collection. */	final static int LINKS = 4;	/** Add object of some type to specified collection of Document. */	void addObject( ScriptableObject object, String name, int destCollection);	/** Set some property of Document. */	void setDocProperty( String name, String value);}

⌨️ 快捷键说明

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