org.zkoss.zk.ui.sys
Interface EventProcessingThread

All Known Implementing Classes:
EventProcessingThreadImpl

public interface EventProcessingThread

Represents an event processing thread.

Author:
tomyeh

Method Summary
 Component getComponent()
          Returns the component being processed by this thread, or null if idle.
 Event getEvent()
          Returns the event being processed by this thread, or null if idle.
 boolean isCeased()
          Returns whether it is ceased.
 boolean isIdle()
          Returns whether this thread is idle, i.e., not processing any event.
 boolean isSuspended()
          Returns whether it is suspended.
 

Method Detail

isCeased

boolean isCeased()
Returns whether it is ceased.

The event processing is ceased automatically. If you want to cease it manually, you can invoke DesktopCtrl.ceaseSuspendedThread(org.zkoss.zk.ui.sys.EventProcessingThread, java.lang.String).


isSuspended

boolean isSuspended()
Returns whether it is suspended.

See Also:
DesktopCtrl.getSuspendedThreads(), DesktopCtrl.ceaseSuspendedThread(org.zkoss.zk.ui.sys.EventProcessingThread, java.lang.String)

isIdle

boolean isIdle()
Returns whether this thread is idle, i.e., not processing any event.


getEvent

Event getEvent()
Returns the event being processed by this thread, or null if idle.


getComponent

Component getComponent()
Returns the component being processed by this thread, or null if idle.



Copyright © 2005-2007 Potix Corporation. All Rights Reserved.