addedbcevt.java

来自「基于jxta的文件共享和聊天系统源代码,下载下来分析吧」· Java 代码 · 共 75 行

JAVA
75
字号
/* * Created on 8-dic-2005 * */package p2p_system;import java.util.EventObject;/** * @author magowiz * */public class AddedBCEvt extends EventObject {		private String cname;	private String status;	private String clabel;	private boolean error;		public AddedBCEvt(Object source,String cl,String s)	{		super(source);		this.clabel=new String(cl);		this.status=new String(s);		this.cname="";		error=false;	}		public AddedBCEvt(Object source,String cl,String s,boolean e)	{		super(source);		this.clabel=new String(cl);		this.status=new String(s);		this.cname="";		error=e;	}		public AddedBCEvt(Object source,String cl,String cn,String s)	{		super(source);		this.clabel=new String(cl);		this.cname=new String(cn);		this.status=new String(s);		error=false;	}		public AddedBCEvt(Object source,String cl,String cn,String s,boolean e)	{		super(source);		this.clabel=new String(cl);		this.cname=new String(cn);		this.status=new String(s);		error=e;	} 		public boolean isError()	{		return this.error;	}		public String getCatalogLabel()	{		return this.clabel;	}		public String getCatalogName()	{		return this.cname;	}		public String getStatus()	{		return this.status;	}}

⌨️ 快捷键说明

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