📄 xdocumentcontainer.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.container;
import java.awt.*;
import java.util.*;
import xbrowser.doc.*;
import xbrowser.container.event.*;
/** Abstracting application 'document container' area (MDI container window). */
public interface XDocumentContainer
{
/** Opening new empty HTML page window. */
public XDocument createNewDocument();
/** Add document window. */
public void addDocument(XDocument doc);
/** Close current HTML page window. */
public void closeCurrentDocument();
/** Close all HTML page window. */
public void closeAll();
/** Arrange HTML page windows to be placed in cascade. */
public void tileCascade();
/** Make HTML page windows to be Arranged horizontally. */
public void tileHorizontal();
/** Make HTML page windows to be Arranged vertically. */
public void tileVertical();
/** Minimize all pages to icons. */
public void minimizeAll();
/** Restore all minimized pages from icons. */
public void restoreAll();
/** Make document active (focused). */
public void activateDocument(XDocument doc);
/** Returns active HTML page window. */
public XDocument getActiveDocument();
/** Returns Component implementing this interface. */
public Component getComponent();
/** Indicates that there are windows in MDI area. */
public boolean hasDocument();
/** Return list of open windows. */
public Iterator getDocuments();
/** Lets you exchange document windows between areas. */
public void moveDocumentsTo(XDocumentContainer new_doc_container);
/** When 'notebook tabs' are used, controls place where tabs are.
* See {@link javax.swing.JTabbedPane#setTabPlacement(int)} for
* value of <code>place</code>
* @param place JTabbedPane.TOP/BOTTOM or JTabbedPane.LEFT/RIGHT.
*/
public void setContainerTabPlacement(int place);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -