propertycomponent.java

来自「P2P模拟器P2Psim的程序源码」· Java 代码 · 共 40 行

JAVA
40
字号
/*
 * Created on 18-dec-2003
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package gui;

import javax.swing.JComponent;
import graph.Properties;

/**
 * @author Administrator
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public abstract class PropertyComponent extends JComponent
{

	protected Properties copyOfProperties;
	protected int begin;
	
	public abstract void updateInformation(Properties p);


	public void increaseBegin()
	{
		begin++;
	}
	
	public void decreaseBegin()
	{
		if (begin > 0)
		{
			begin--;
		}
	}
}

⌨️ 快捷键说明

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