xhistorypane.java

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

JAVA
66
字号
/****************************************************************
*              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.defaults.historypane;

import java.awt.*;
import javax.swing.*;

import xbrowser.plugin.*;
import xbrowser.widgets.*;
import xbrowser.options.*;

public class XHistoryPane implements XGUIPlugin
{
	public void init()
	{
	}

	public void start()
	{
	}

	public void stop()
	{
	}

	public void destroy()
	{
	}

	public void setContext(XPluginContext context)
	{
		this.context = context;
		context.getResourceManager().initResourceBundle("XHistoryPane");
	}

	public Component getComponent()
	{
	XHistoryTable history_table = new XHistoryTable();

		history_table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
		return( new JScrollPane(history_table) );
	}

	public String getTitle()
	{
		return context.getResourceManager().getProperty(this, "Title");
	}

	public XOptionPage getOptionPage()
	{
		return null;
	}

// Attributes:
	private XPluginContext context;
}

⌨️ 快捷键说明

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