📄 command.java
字号:
/*
* Created on 2004-7-18
* Author: Xuefeng, Copyright (C) 2004, Xuefeng.
*/
package jexi.core.command;
/**
* Command interface.
*
* @author Xuefeng
*/
public interface Command {
/**
* Execute this command. If succeeded (return TRUE), the
* CommandManager will put this command into command list
* if this command can support undo.
*
* @return True if the command executed succussfully.
*/
boolean execute();
/**
* Undo this command. This is used to implement "Undo"
*/
void unexecute();
/**
* If this command can support undo. Some commands not support
* undo such as CopyCommand, PastCommand.
*
* @return True if this command can undo.
*/
boolean canUndo();
/**
* Get the command detail.
*
* @return The command description.
*/
String toString();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -