abortingreason.java
来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 66 行
JAVA
66 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?