?? operation.java
字號:
package com.ismyway.anyview.others;
import com.ismyway.anyview.win.FileExplorer;
public class Operation {
public static final byte INIT_OP = 1;
public static final byte OPEN_OP = 2;
public static final byte DELETE_OP = 3;
public final byte operationCode;
private FileExplorer fileExplorer;
public Operation(FileExplorer fe, byte operationCode) {
this.fileExplorer = fe;
this.operationCode = operationCode;
}
public void execute() {
if (this.fileExplorer != null) {
switch (operationCode) {
case INIT_OP:
this.fileExplorer.openRootDir();
break;
case OPEN_OP:
this.fileExplorer.openSelected((byte)0);
break;
case DELETE_OP:
this.fileExplorer.deleteCurrent();
break;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -