userpane.java

来自「聊天工具」· Java 代码 · 共 60 行

JAVA
60
字号
package server.userpane;

import java.awt.BorderLayout;

import javax.swing.JPanel;

import server.login.ServerFrme;
/**
 * 用户管理面板
 * @author 洪景泉
 *
 */

public class UserPane extends JPanel{

	private static final long serialVersionUID = -1049006697116735096L;
	private TopPane topPane=null;
	private MiddlePane centerPane=null;
	private BottomPane bottomPane=null;
	
	private ServerFrme qqServerFrm=null;
	
	/**
	 * 构造函数
	 * @param qqServerFrm 主界面对象
	 */	
	public UserPane(ServerFrme qqServerFrm) {
		// TODO 自动生成构造函数存根
		this.qqServerFrm=qqServerFrm;
		topPane=new TopPane(qqServerFrm,this);
		centerPane=new MiddlePane(this);
		bottomPane=new BottomPane(qqServerFrm,this);
		
		this.setLayout(new BorderLayout(0,0));
		this.add(topPane,BorderLayout.NORTH);
		this.add(centerPane,BorderLayout.CENTER);
		this.add(bottomPane,BorderLayout.SOUTH);
		
		
	}
	public MiddlePane getCenterPane() {
		return centerPane;
	}
	public ServerFrme getQqServerFrm() {
		return qqServerFrm;
	}
	public void setQqServerFrm(ServerFrme qqServerFrm) {
		this.qqServerFrm = qqServerFrm;
	}
	public BottomPane getBottomPane() {
		return bottomPane;
	}
	public TopPane getTopPane() {
		return topPane;
	}
	
	

}

⌨️ 快捷键说明

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