searchevt.java
来自「基于jxta的文件共享和聊天系统源代码,下载下来分析吧」· Java 代码 · 共 60 行
JAVA
60 行
package p2p_system;import java.util.EventObject;public class SearchEvt extends EventObject { private String title=null; private String description=null; private String[] catalogs=null; private boolean othweb,othpeer,loccat; public SearchEvt(Object source,String t, String d,String [] c,boolean ow,boolean op,boolean lc) { super(source); this.title=t; this.description=d; this.catalogs=c; this.othpeer=op; this.othweb=ow; this.loccat=lc; } public String getTitle() { return this.title; } public String getDescription() { return this.description; } public String [] getCatalogs() { return this.catalogs; } /** * @return the loccat */ public boolean isLoccat() { return loccat; } /** * @return the othpeer */ public boolean isOthpeer() { return othpeer; } /** * @return the othweb */ public boolean isOthweb() { return othweb; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?