📄 multidownloadevent.java
字号:
package down2.event;
import java.util.EventObject;
/**
*
* <p>Title: MultipleDownloadEvent.java</p>
* <p>Description: </p>
* <p>Copyright:OnewaveInc Copyright (c) 2007</p>
* <p>Company: OnewaveInc</p>
* @author Zhengrw
* @version 3.0
*/
public class MultiDownloadEvent extends EventObject {
private static final long serialVersionUID = -4454050364249833763L;
public static final int DL_START = 0;
public static final int DL_STOP = 1;
public static final int DL_STOP_EXCEPTION = 2;
private int threadId;
private int operation;
public MultiDownloadEvent(Object source,int i){
super(source);
}
public MultiDownloadEvent(Object source) {
super(source);
}
public MultiDownloadEvent(Object source, int id,int operation){
super(source);
this.threadId = id;
this.operation = operation;
}
public int getOperation() {
return operation;
}
public void setOperation(int operation) {
this.operation = operation;
}
public int getThreadId() {
return threadId;
}
public void setThreadId(int threadId) {
this.threadId = threadId;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -