⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xplugincontext.java

📁 XBrowser是一个完全免费并且开源的Web浏览器
💻 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.plugin;

import xbrowser.*;
import xbrowser.bookmark.*;
import xbrowser.history.*;
import xbrowser.plugin.*;
import xbrowser.widgets.*;
import xbrowser.logger.*;
import xbrowser.cookie.*;
import xbrowser.cache.*;
import xbrowser.util.*;

public class XPluginContext
{
	public XPluginContext(ClassLoader class_loader)
	{
		resourceManager = new XResourceManager(class_loader);
		compBuilder = new XComponentBuilder(resourceManager);
	}

	public String getBrowserVersion()
	{
		return XProjectConstants.PRODUCT_VERSION;
	}

	public XIBrowser getBrowser()
	{
		return XBrowser.getBrowser();
	}

	public XComponentBuilder getComponentBuilder()
	{
		return compBuilder;
	}

	public XResourceManager getResourceManager()
	{
		return resourceManager;
	}

	public XLogManager getLogger()
	{
		return XRepository.getLogger();
	}

	public XPluginManager getPluginManager()
	{
		return XRepository.getPluginManager();
	}

	public XPluginUIManager getPluginUIManager()
	{
		return XRepository.getPluginUIManager();
	}

	public XHistoryManager getHistoryManager()
	{
		return XRepository.getHistoryManager();
	}

	public XBookmarkManager getBookmarkManager()
	{
		return XRepository.getBookmarkManager();
	}

	public XCookieManager getCookieManager()
	{
		return XRepository.getCookieManager();
	}

	public XScreenManager getScreenManager()
	{
		return XRepository.getScreenManager();
	}

	public XProjectConfig getConfiguration()
	{
		return XRepository.getConfiguration();
	}

	public XCacheManager getCacheManager()
	{
		return XRepository.getCacheManager();
	}

// Attributes:
	private XResourceManager resourceManager = null;
	private XComponentBuilder compBuilder = null;
}

⌨️ 快捷键说明

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