📄 trigger.java
字号:
package org.uispec4j;
import org.uispec4j.interception.WindowInterceptor;
/**
* Interface for window interception triggers - UI interactions which display a window.<p>
* Ready-to-use triggers are made available by several components such as Buttons or Menus.
*
* @see Button#triggerClick
* @see MenuItem#triggerClick
* @see WindowInterceptor
*/
public interface Trigger {
void run() throws Exception;
public static final Trigger DO_NOTHING = new Trigger() {
public void run() throws Exception {
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -