Interface EventProcessingThread

  • All Known Implementing Classes:
    EventProcessingThreadImpl

    public interface EventProcessingThread
    Represents an event processing thread.
    Author:
    tomyeh
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      void sendEvent​(Component comp, Event event)
      Sends the specified component and event and processes the event synchronously.