📄 eventprocessingthread.java
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -