Package spin.off

Interface Dispatcher

All Known Implementing Classes:
DialogDispatcherFactory.DialogDispatcher

public interface Dispatcher
An dispatcher of AWT events.
Used by SpinOffEvaluators to keep the UI reactive while waiting for a spin-off to complete.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Start dispatching events.
    void
    Stop dispatching events.
  • Method Details

    • start

      void start() throws Throwable
      Start dispatching events.
      This method is always called on the EDT. It must not return until stop() is called.
      Throws:
      Throwable - in case of any exceptions while dispatching
    • stop

      void stop()
      Stop dispatching events.
      This method is not called on the EDT.