📄 abortingreason.java
字号:
/* AbortingReason.java{{IS_NOTE Purpose: Description: History: Sun Apr 30 18:11:01 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.zk.ui.sys;import org.zkoss.zk.au.AuResponse;/** * The aborting reason used to abort the current execution. * * @author tomyeh */public interface AbortingReason { /** Returns whether to abort the execution. */ public boolean isAborting(); /** Called to process this aborting reason. * It is called after {@link UiEngine} processes all events, * before generating the responses to the client. * * <p>Note: it is always called even if {@link #isAborting} returns false. * * <p>Note: {@link #execute} is called before generating * the responses to the client, while {@link #getResponse} is called * when generating the responses. * * @since 3.0.0 * @see #getResponse */ public void execute(); /** Returns the response representing this aborting reason. * It is called when {@link UiEngine} generates the responses to * client. Actually, it is called as the last step after * generating all other responses. In other words, the response * returned by this method, if any, will become the last response. * * <p>Note: don't modify the components in {@link #getResponse}, since * it is called after all other responses are generated. * * <p>Note: it is always called even if {@link #isAborting} returns false. * * <p>Note: {@link #execute} is called before generating * the responses to the client, while {@link #getResponse} is called * when generating the responses. * * @return the response to generate, or null if no response to generate. * @see #execute */ public AuResponse getResponse();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -