eventprocessingthread.java
来自「ZK 基础介绍 功能操作 模块 结合数据库操作」· Java 代码 · 共 55 行
JAVA
55 行
/* EventProcessingThread.java{{IS_NOTE Purpose: Description: History: Tue Feb 13 09:23:49 2007, Created by tomyeh}}IS_NOTECopyright (C) 2007 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.ui.Component;import org.zkoss.zk.ui.event.Event;/** * Represents an event processing thread. * * @author tomyeh */public interface EventProcessingThread { /** Returns whether it is ceased. * * <p>The event processing is ceased automatically. * If you want to cease it manually, you can invoke * {@link DesktopCtrl#ceaseSuspendedThread}. */ public boolean isCeased(); /** Returns whether it is suspended. * * @see DesktopCtrl#getSuspendedThreads * @see DesktopCtrl#ceaseSuspendedThread */ public boolean isSuspended(); /** Returns whether this thread is idle, i.e., not processing any event. */ public boolean isIdle(); /** Returns the event being processed by this thread, or null if idle. */ public Event getEvent(); /** Returns the component being processed by this thread, or null if idle. */ public Component getComponent();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?